POST identitytoolkit.relyingparty.createAuthUri
{{baseUrl}}/createAuthUri
BODY json

{
  "appId": "",
  "authFlowType": "",
  "clientId": "",
  "context": "",
  "continueUri": "",
  "customParameter": {},
  "hostedDomain": "",
  "identifier": "",
  "oauthConsumerKey": "",
  "oauthScope": "",
  "openidRealm": "",
  "otaApp": "",
  "providerId": "",
  "sessionId": "",
  "tenantId": "",
  "tenantProjectNumber": ""
}
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/createAuthUri");

struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "content-type: application/json");
curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);

curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, "{\n  \"appId\": \"\",\n  \"authFlowType\": \"\",\n  \"clientId\": \"\",\n  \"context\": \"\",\n  \"continueUri\": \"\",\n  \"customParameter\": {},\n  \"hostedDomain\": \"\",\n  \"identifier\": \"\",\n  \"oauthConsumerKey\": \"\",\n  \"oauthScope\": \"\",\n  \"openidRealm\": \"\",\n  \"otaApp\": \"\",\n  \"providerId\": \"\",\n  \"sessionId\": \"\",\n  \"tenantId\": \"\",\n  \"tenantProjectNumber\": \"\"\n}");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/post "{{baseUrl}}/createAuthUri" {:content-type :json
                                                          :form-params {:appId ""
                                                                        :authFlowType ""
                                                                        :clientId ""
                                                                        :context ""
                                                                        :continueUri ""
                                                                        :customParameter {}
                                                                        :hostedDomain ""
                                                                        :identifier ""
                                                                        :oauthConsumerKey ""
                                                                        :oauthScope ""
                                                                        :openidRealm ""
                                                                        :otaApp ""
                                                                        :providerId ""
                                                                        :sessionId ""
                                                                        :tenantId ""
                                                                        :tenantProjectNumber ""}})
require "http/client"

url = "{{baseUrl}}/createAuthUri"
headers = HTTP::Headers{
  "content-type" => "application/json"
}
reqBody = "{\n  \"appId\": \"\",\n  \"authFlowType\": \"\",\n  \"clientId\": \"\",\n  \"context\": \"\",\n  \"continueUri\": \"\",\n  \"customParameter\": {},\n  \"hostedDomain\": \"\",\n  \"identifier\": \"\",\n  \"oauthConsumerKey\": \"\",\n  \"oauthScope\": \"\",\n  \"openidRealm\": \"\",\n  \"otaApp\": \"\",\n  \"providerId\": \"\",\n  \"sessionId\": \"\",\n  \"tenantId\": \"\",\n  \"tenantProjectNumber\": \"\"\n}"

response = HTTP::Client.post url, headers: headers, body: reqBody
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Post,
    RequestUri = new Uri("{{baseUrl}}/createAuthUri"),
    Content = new StringContent("{\n  \"appId\": \"\",\n  \"authFlowType\": \"\",\n  \"clientId\": \"\",\n  \"context\": \"\",\n  \"continueUri\": \"\",\n  \"customParameter\": {},\n  \"hostedDomain\": \"\",\n  \"identifier\": \"\",\n  \"oauthConsumerKey\": \"\",\n  \"oauthScope\": \"\",\n  \"openidRealm\": \"\",\n  \"otaApp\": \"\",\n  \"providerId\": \"\",\n  \"sessionId\": \"\",\n  \"tenantId\": \"\",\n  \"tenantProjectNumber\": \"\"\n}")
    {
        Headers =
        {
            ContentType = new MediaTypeHeaderValue("application/json")
        }
    }
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/createAuthUri");
var request = new RestRequest("", Method.Post);
request.AddHeader("content-type", "application/json");
request.AddParameter("application/json", "{\n  \"appId\": \"\",\n  \"authFlowType\": \"\",\n  \"clientId\": \"\",\n  \"context\": \"\",\n  \"continueUri\": \"\",\n  \"customParameter\": {},\n  \"hostedDomain\": \"\",\n  \"identifier\": \"\",\n  \"oauthConsumerKey\": \"\",\n  \"oauthScope\": \"\",\n  \"openidRealm\": \"\",\n  \"otaApp\": \"\",\n  \"providerId\": \"\",\n  \"sessionId\": \"\",\n  \"tenantId\": \"\",\n  \"tenantProjectNumber\": \"\"\n}", ParameterType.RequestBody);
var response = client.Execute(request);
package main

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

func main() {

	url := "{{baseUrl}}/createAuthUri"

	payload := strings.NewReader("{\n  \"appId\": \"\",\n  \"authFlowType\": \"\",\n  \"clientId\": \"\",\n  \"context\": \"\",\n  \"continueUri\": \"\",\n  \"customParameter\": {},\n  \"hostedDomain\": \"\",\n  \"identifier\": \"\",\n  \"oauthConsumerKey\": \"\",\n  \"oauthScope\": \"\",\n  \"openidRealm\": \"\",\n  \"otaApp\": \"\",\n  \"providerId\": \"\",\n  \"sessionId\": \"\",\n  \"tenantId\": \"\",\n  \"tenantProjectNumber\": \"\"\n}")

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

	req.Header.Add("content-type", "application/json")

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

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

	fmt.Println(res)
	fmt.Println(string(body))

}
POST /baseUrl/createAuthUri HTTP/1.1
Content-Type: application/json
Host: example.com
Content-Length: 331

{
  "appId": "",
  "authFlowType": "",
  "clientId": "",
  "context": "",
  "continueUri": "",
  "customParameter": {},
  "hostedDomain": "",
  "identifier": "",
  "oauthConsumerKey": "",
  "oauthScope": "",
  "openidRealm": "",
  "otaApp": "",
  "providerId": "",
  "sessionId": "",
  "tenantId": "",
  "tenantProjectNumber": ""
}
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/createAuthUri")
  .setHeader("content-type", "application/json")
  .setBody("{\n  \"appId\": \"\",\n  \"authFlowType\": \"\",\n  \"clientId\": \"\",\n  \"context\": \"\",\n  \"continueUri\": \"\",\n  \"customParameter\": {},\n  \"hostedDomain\": \"\",\n  \"identifier\": \"\",\n  \"oauthConsumerKey\": \"\",\n  \"oauthScope\": \"\",\n  \"openidRealm\": \"\",\n  \"otaApp\": \"\",\n  \"providerId\": \"\",\n  \"sessionId\": \"\",\n  \"tenantId\": \"\",\n  \"tenantProjectNumber\": \"\"\n}")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/createAuthUri"))
    .header("content-type", "application/json")
    .method("POST", HttpRequest.BodyPublishers.ofString("{\n  \"appId\": \"\",\n  \"authFlowType\": \"\",\n  \"clientId\": \"\",\n  \"context\": \"\",\n  \"continueUri\": \"\",\n  \"customParameter\": {},\n  \"hostedDomain\": \"\",\n  \"identifier\": \"\",\n  \"oauthConsumerKey\": \"\",\n  \"oauthScope\": \"\",\n  \"openidRealm\": \"\",\n  \"otaApp\": \"\",\n  \"providerId\": \"\",\n  \"sessionId\": \"\",\n  \"tenantId\": \"\",\n  \"tenantProjectNumber\": \"\"\n}"))
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n  \"appId\": \"\",\n  \"authFlowType\": \"\",\n  \"clientId\": \"\",\n  \"context\": \"\",\n  \"continueUri\": \"\",\n  \"customParameter\": {},\n  \"hostedDomain\": \"\",\n  \"identifier\": \"\",\n  \"oauthConsumerKey\": \"\",\n  \"oauthScope\": \"\",\n  \"openidRealm\": \"\",\n  \"otaApp\": \"\",\n  \"providerId\": \"\",\n  \"sessionId\": \"\",\n  \"tenantId\": \"\",\n  \"tenantProjectNumber\": \"\"\n}");
Request request = new Request.Builder()
  .url("{{baseUrl}}/createAuthUri")
  .post(body)
  .addHeader("content-type", "application/json")
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/createAuthUri")
  .header("content-type", "application/json")
  .body("{\n  \"appId\": \"\",\n  \"authFlowType\": \"\",\n  \"clientId\": \"\",\n  \"context\": \"\",\n  \"continueUri\": \"\",\n  \"customParameter\": {},\n  \"hostedDomain\": \"\",\n  \"identifier\": \"\",\n  \"oauthConsumerKey\": \"\",\n  \"oauthScope\": \"\",\n  \"openidRealm\": \"\",\n  \"otaApp\": \"\",\n  \"providerId\": \"\",\n  \"sessionId\": \"\",\n  \"tenantId\": \"\",\n  \"tenantProjectNumber\": \"\"\n}")
  .asString();
const data = JSON.stringify({
  appId: '',
  authFlowType: '',
  clientId: '',
  context: '',
  continueUri: '',
  customParameter: {},
  hostedDomain: '',
  identifier: '',
  oauthConsumerKey: '',
  oauthScope: '',
  openidRealm: '',
  otaApp: '',
  providerId: '',
  sessionId: '',
  tenantId: '',
  tenantProjectNumber: ''
});

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('POST', '{{baseUrl}}/createAuthUri');
xhr.setRequestHeader('content-type', 'application/json');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'POST',
  url: '{{baseUrl}}/createAuthUri',
  headers: {'content-type': 'application/json'},
  data: {
    appId: '',
    authFlowType: '',
    clientId: '',
    context: '',
    continueUri: '',
    customParameter: {},
    hostedDomain: '',
    identifier: '',
    oauthConsumerKey: '',
    oauthScope: '',
    openidRealm: '',
    otaApp: '',
    providerId: '',
    sessionId: '',
    tenantId: '',
    tenantProjectNumber: ''
  }
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/createAuthUri';
const options = {
  method: 'POST',
  headers: {'content-type': 'application/json'},
  body: '{"appId":"","authFlowType":"","clientId":"","context":"","continueUri":"","customParameter":{},"hostedDomain":"","identifier":"","oauthConsumerKey":"","oauthScope":"","openidRealm":"","otaApp":"","providerId":"","sessionId":"","tenantId":"","tenantProjectNumber":""}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/createAuthUri',
  method: 'POST',
  headers: {
    'content-type': 'application/json'
  },
  processData: false,
  data: '{\n  "appId": "",\n  "authFlowType": "",\n  "clientId": "",\n  "context": "",\n  "continueUri": "",\n  "customParameter": {},\n  "hostedDomain": "",\n  "identifier": "",\n  "oauthConsumerKey": "",\n  "oauthScope": "",\n  "openidRealm": "",\n  "otaApp": "",\n  "providerId": "",\n  "sessionId": "",\n  "tenantId": "",\n  "tenantProjectNumber": ""\n}'
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val mediaType = MediaType.parse("application/json")
val body = RequestBody.create(mediaType, "{\n  \"appId\": \"\",\n  \"authFlowType\": \"\",\n  \"clientId\": \"\",\n  \"context\": \"\",\n  \"continueUri\": \"\",\n  \"customParameter\": {},\n  \"hostedDomain\": \"\",\n  \"identifier\": \"\",\n  \"oauthConsumerKey\": \"\",\n  \"oauthScope\": \"\",\n  \"openidRealm\": \"\",\n  \"otaApp\": \"\",\n  \"providerId\": \"\",\n  \"sessionId\": \"\",\n  \"tenantId\": \"\",\n  \"tenantProjectNumber\": \"\"\n}")
val request = Request.Builder()
  .url("{{baseUrl}}/createAuthUri")
  .post(body)
  .addHeader("content-type", "application/json")
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'POST',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/createAuthUri',
  headers: {
    'content-type': 'application/json'
  }
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.write(JSON.stringify({
  appId: '',
  authFlowType: '',
  clientId: '',
  context: '',
  continueUri: '',
  customParameter: {},
  hostedDomain: '',
  identifier: '',
  oauthConsumerKey: '',
  oauthScope: '',
  openidRealm: '',
  otaApp: '',
  providerId: '',
  sessionId: '',
  tenantId: '',
  tenantProjectNumber: ''
}));
req.end();
const request = require('request');

const options = {
  method: 'POST',
  url: '{{baseUrl}}/createAuthUri',
  headers: {'content-type': 'application/json'},
  body: {
    appId: '',
    authFlowType: '',
    clientId: '',
    context: '',
    continueUri: '',
    customParameter: {},
    hostedDomain: '',
    identifier: '',
    oauthConsumerKey: '',
    oauthScope: '',
    openidRealm: '',
    otaApp: '',
    providerId: '',
    sessionId: '',
    tenantId: '',
    tenantProjectNumber: ''
  },
  json: true
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('POST', '{{baseUrl}}/createAuthUri');

req.headers({
  'content-type': 'application/json'
});

req.type('json');
req.send({
  appId: '',
  authFlowType: '',
  clientId: '',
  context: '',
  continueUri: '',
  customParameter: {},
  hostedDomain: '',
  identifier: '',
  oauthConsumerKey: '',
  oauthScope: '',
  openidRealm: '',
  otaApp: '',
  providerId: '',
  sessionId: '',
  tenantId: '',
  tenantProjectNumber: ''
});

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'POST',
  url: '{{baseUrl}}/createAuthUri',
  headers: {'content-type': 'application/json'},
  data: {
    appId: '',
    authFlowType: '',
    clientId: '',
    context: '',
    continueUri: '',
    customParameter: {},
    hostedDomain: '',
    identifier: '',
    oauthConsumerKey: '',
    oauthScope: '',
    openidRealm: '',
    otaApp: '',
    providerId: '',
    sessionId: '',
    tenantId: '',
    tenantProjectNumber: ''
  }
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/createAuthUri';
const options = {
  method: 'POST',
  headers: {'content-type': 'application/json'},
  body: '{"appId":"","authFlowType":"","clientId":"","context":"","continueUri":"","customParameter":{},"hostedDomain":"","identifier":"","oauthConsumerKey":"","oauthScope":"","openidRealm":"","otaApp":"","providerId":"","sessionId":"","tenantId":"","tenantProjectNumber":""}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSDictionary *headers = @{ @"content-type": @"application/json" };
NSDictionary *parameters = @{ @"appId": @"",
                              @"authFlowType": @"",
                              @"clientId": @"",
                              @"context": @"",
                              @"continueUri": @"",
                              @"customParameter": @{  },
                              @"hostedDomain": @"",
                              @"identifier": @"",
                              @"oauthConsumerKey": @"",
                              @"oauthScope": @"",
                              @"openidRealm": @"",
                              @"otaApp": @"",
                              @"providerId": @"",
                              @"sessionId": @"",
                              @"tenantId": @"",
                              @"tenantProjectNumber": @"" };

NSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/createAuthUri"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
[request setAllHTTPHeaderFields:headers];
[request setHTTPBody:postData];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/createAuthUri" in
let headers = Header.add (Header.init ()) "content-type" "application/json" in
let body = Cohttp_lwt_body.of_string "{\n  \"appId\": \"\",\n  \"authFlowType\": \"\",\n  \"clientId\": \"\",\n  \"context\": \"\",\n  \"continueUri\": \"\",\n  \"customParameter\": {},\n  \"hostedDomain\": \"\",\n  \"identifier\": \"\",\n  \"oauthConsumerKey\": \"\",\n  \"oauthScope\": \"\",\n  \"openidRealm\": \"\",\n  \"otaApp\": \"\",\n  \"providerId\": \"\",\n  \"sessionId\": \"\",\n  \"tenantId\": \"\",\n  \"tenantProjectNumber\": \"\"\n}" in

Client.call ~headers ~body `POST uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/createAuthUri",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
  CURLOPT_POSTFIELDS => json_encode([
    'appId' => '',
    'authFlowType' => '',
    'clientId' => '',
    'context' => '',
    'continueUri' => '',
    'customParameter' => [
        
    ],
    'hostedDomain' => '',
    'identifier' => '',
    'oauthConsumerKey' => '',
    'oauthScope' => '',
    'openidRealm' => '',
    'otaApp' => '',
    'providerId' => '',
    'sessionId' => '',
    'tenantId' => '',
    'tenantProjectNumber' => ''
  ]),
  CURLOPT_HTTPHEADER => [
    "content-type: application/json"
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('POST', '{{baseUrl}}/createAuthUri', [
  'body' => '{
  "appId": "",
  "authFlowType": "",
  "clientId": "",
  "context": "",
  "continueUri": "",
  "customParameter": {},
  "hostedDomain": "",
  "identifier": "",
  "oauthConsumerKey": "",
  "oauthScope": "",
  "openidRealm": "",
  "otaApp": "",
  "providerId": "",
  "sessionId": "",
  "tenantId": "",
  "tenantProjectNumber": ""
}',
  'headers' => [
    'content-type' => 'application/json',
  ],
]);

echo $response->getBody();
setUrl('{{baseUrl}}/createAuthUri');
$request->setMethod(HTTP_METH_POST);

$request->setHeaders([
  'content-type' => 'application/json'
]);

$request->setContentType('application/json');
$request->setBody(json_encode([
  'appId' => '',
  'authFlowType' => '',
  'clientId' => '',
  'context' => '',
  'continueUri' => '',
  'customParameter' => [
    
  ],
  'hostedDomain' => '',
  'identifier' => '',
  'oauthConsumerKey' => '',
  'oauthScope' => '',
  'openidRealm' => '',
  'otaApp' => '',
  'providerId' => '',
  'sessionId' => '',
  'tenantId' => '',
  'tenantProjectNumber' => ''
]));

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
append(json_encode([
  'appId' => '',
  'authFlowType' => '',
  'clientId' => '',
  'context' => '',
  'continueUri' => '',
  'customParameter' => [
    
  ],
  'hostedDomain' => '',
  'identifier' => '',
  'oauthConsumerKey' => '',
  'oauthScope' => '',
  'openidRealm' => '',
  'otaApp' => '',
  'providerId' => '',
  'sessionId' => '',
  'tenantId' => '',
  'tenantProjectNumber' => ''
]));
$request->setRequestUrl('{{baseUrl}}/createAuthUri');
$request->setRequestMethod('POST');
$request->setBody($body);

$request->setHeaders([
  'content-type' => 'application/json'
]);

$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-WebRequest -Uri '{{baseUrl}}/createAuthUri' -Method POST -Headers $headers -ContentType 'application/json' -Body '{
  "appId": "",
  "authFlowType": "",
  "clientId": "",
  "context": "",
  "continueUri": "",
  "customParameter": {},
  "hostedDomain": "",
  "identifier": "",
  "oauthConsumerKey": "",
  "oauthScope": "",
  "openidRealm": "",
  "otaApp": "",
  "providerId": "",
  "sessionId": "",
  "tenantId": "",
  "tenantProjectNumber": ""
}'
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-RestMethod -Uri '{{baseUrl}}/createAuthUri' -Method POST -Headers $headers -ContentType 'application/json' -Body '{
  "appId": "",
  "authFlowType": "",
  "clientId": "",
  "context": "",
  "continueUri": "",
  "customParameter": {},
  "hostedDomain": "",
  "identifier": "",
  "oauthConsumerKey": "",
  "oauthScope": "",
  "openidRealm": "",
  "otaApp": "",
  "providerId": "",
  "sessionId": "",
  "tenantId": "",
  "tenantProjectNumber": ""
}'
import http.client

conn = http.client.HTTPSConnection("example.com")

payload = "{\n  \"appId\": \"\",\n  \"authFlowType\": \"\",\n  \"clientId\": \"\",\n  \"context\": \"\",\n  \"continueUri\": \"\",\n  \"customParameter\": {},\n  \"hostedDomain\": \"\",\n  \"identifier\": \"\",\n  \"oauthConsumerKey\": \"\",\n  \"oauthScope\": \"\",\n  \"openidRealm\": \"\",\n  \"otaApp\": \"\",\n  \"providerId\": \"\",\n  \"sessionId\": \"\",\n  \"tenantId\": \"\",\n  \"tenantProjectNumber\": \"\"\n}"

headers = { 'content-type': "application/json" }

conn.request("POST", "/baseUrl/createAuthUri", payload, headers)

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/createAuthUri"

payload = {
    "appId": "",
    "authFlowType": "",
    "clientId": "",
    "context": "",
    "continueUri": "",
    "customParameter": {},
    "hostedDomain": "",
    "identifier": "",
    "oauthConsumerKey": "",
    "oauthScope": "",
    "openidRealm": "",
    "otaApp": "",
    "providerId": "",
    "sessionId": "",
    "tenantId": "",
    "tenantProjectNumber": ""
}
headers = {"content-type": "application/json"}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
library(httr)

url <- "{{baseUrl}}/createAuthUri"

payload <- "{\n  \"appId\": \"\",\n  \"authFlowType\": \"\",\n  \"clientId\": \"\",\n  \"context\": \"\",\n  \"continueUri\": \"\",\n  \"customParameter\": {},\n  \"hostedDomain\": \"\",\n  \"identifier\": \"\",\n  \"oauthConsumerKey\": \"\",\n  \"oauthScope\": \"\",\n  \"openidRealm\": \"\",\n  \"otaApp\": \"\",\n  \"providerId\": \"\",\n  \"sessionId\": \"\",\n  \"tenantId\": \"\",\n  \"tenantProjectNumber\": \"\"\n}"

encode <- "json"

response <- VERB("POST", url, body = payload, content_type("application/json"), encode = encode)

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/createAuthUri")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["content-type"] = 'application/json'
request.body = "{\n  \"appId\": \"\",\n  \"authFlowType\": \"\",\n  \"clientId\": \"\",\n  \"context\": \"\",\n  \"continueUri\": \"\",\n  \"customParameter\": {},\n  \"hostedDomain\": \"\",\n  \"identifier\": \"\",\n  \"oauthConsumerKey\": \"\",\n  \"oauthScope\": \"\",\n  \"openidRealm\": \"\",\n  \"otaApp\": \"\",\n  \"providerId\": \"\",\n  \"sessionId\": \"\",\n  \"tenantId\": \"\",\n  \"tenantProjectNumber\": \"\"\n}"

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
  headers: {'Content-Type' => 'application/json'}
)

response = conn.post('/baseUrl/createAuthUri') do |req|
  req.body = "{\n  \"appId\": \"\",\n  \"authFlowType\": \"\",\n  \"clientId\": \"\",\n  \"context\": \"\",\n  \"continueUri\": \"\",\n  \"customParameter\": {},\n  \"hostedDomain\": \"\",\n  \"identifier\": \"\",\n  \"oauthConsumerKey\": \"\",\n  \"oauthScope\": \"\",\n  \"openidRealm\": \"\",\n  \"otaApp\": \"\",\n  \"providerId\": \"\",\n  \"sessionId\": \"\",\n  \"tenantId\": \"\",\n  \"tenantProjectNumber\": \"\"\n}"
end

puts response.status
puts response.body
use serde_json::json;
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/createAuthUri";

    let payload = json!({
        "appId": "",
        "authFlowType": "",
        "clientId": "",
        "context": "",
        "continueUri": "",
        "customParameter": json!({}),
        "hostedDomain": "",
        "identifier": "",
        "oauthConsumerKey": "",
        "oauthScope": "",
        "openidRealm": "",
        "otaApp": "",
        "providerId": "",
        "sessionId": "",
        "tenantId": "",
        "tenantProjectNumber": ""
    });

    let mut headers = reqwest::header::HeaderMap::new();
    headers.insert("content-type", "application/json".parse().unwrap());

    let client = reqwest::Client::new();
    let response = client.post(url)
        .headers(headers)
        .json(&payload)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request POST \
  --url {{baseUrl}}/createAuthUri \
  --header 'content-type: application/json' \
  --data '{
  "appId": "",
  "authFlowType": "",
  "clientId": "",
  "context": "",
  "continueUri": "",
  "customParameter": {},
  "hostedDomain": "",
  "identifier": "",
  "oauthConsumerKey": "",
  "oauthScope": "",
  "openidRealm": "",
  "otaApp": "",
  "providerId": "",
  "sessionId": "",
  "tenantId": "",
  "tenantProjectNumber": ""
}'
echo '{
  "appId": "",
  "authFlowType": "",
  "clientId": "",
  "context": "",
  "continueUri": "",
  "customParameter": {},
  "hostedDomain": "",
  "identifier": "",
  "oauthConsumerKey": "",
  "oauthScope": "",
  "openidRealm": "",
  "otaApp": "",
  "providerId": "",
  "sessionId": "",
  "tenantId": "",
  "tenantProjectNumber": ""
}' |  \
  http POST {{baseUrl}}/createAuthUri \
  content-type:application/json
wget --quiet \
  --method POST \
  --header 'content-type: application/json' \
  --body-data '{\n  "appId": "",\n  "authFlowType": "",\n  "clientId": "",\n  "context": "",\n  "continueUri": "",\n  "customParameter": {},\n  "hostedDomain": "",\n  "identifier": "",\n  "oauthConsumerKey": "",\n  "oauthScope": "",\n  "openidRealm": "",\n  "otaApp": "",\n  "providerId": "",\n  "sessionId": "",\n  "tenantId": "",\n  "tenantProjectNumber": ""\n}' \
  --output-document \
  - {{baseUrl}}/createAuthUri
import Foundation

let headers = ["content-type": "application/json"]
let parameters = [
  "appId": "",
  "authFlowType": "",
  "clientId": "",
  "context": "",
  "continueUri": "",
  "customParameter": [],
  "hostedDomain": "",
  "identifier": "",
  "oauthConsumerKey": "",
  "oauthScope": "",
  "openidRealm": "",
  "otaApp": "",
  "providerId": "",
  "sessionId": "",
  "tenantId": "",
  "tenantProjectNumber": ""
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/createAuthUri")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
POST identitytoolkit.relyingparty.deleteAccount
{{baseUrl}}/deleteAccount
BODY json

{
  "delegatedProjectNumber": "",
  "idToken": "",
  "localId": ""
}
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/deleteAccount");

struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "content-type: application/json");
curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);

curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, "{\n  \"delegatedProjectNumber\": \"\",\n  \"idToken\": \"\",\n  \"localId\": \"\"\n}");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/post "{{baseUrl}}/deleteAccount" {:content-type :json
                                                          :form-params {:delegatedProjectNumber ""
                                                                        :idToken ""
                                                                        :localId ""}})
require "http/client"

url = "{{baseUrl}}/deleteAccount"
headers = HTTP::Headers{
  "content-type" => "application/json"
}
reqBody = "{\n  \"delegatedProjectNumber\": \"\",\n  \"idToken\": \"\",\n  \"localId\": \"\"\n}"

response = HTTP::Client.post url, headers: headers, body: reqBody
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Post,
    RequestUri = new Uri("{{baseUrl}}/deleteAccount"),
    Content = new StringContent("{\n  \"delegatedProjectNumber\": \"\",\n  \"idToken\": \"\",\n  \"localId\": \"\"\n}")
    {
        Headers =
        {
            ContentType = new MediaTypeHeaderValue("application/json")
        }
    }
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/deleteAccount");
var request = new RestRequest("", Method.Post);
request.AddHeader("content-type", "application/json");
request.AddParameter("application/json", "{\n  \"delegatedProjectNumber\": \"\",\n  \"idToken\": \"\",\n  \"localId\": \"\"\n}", ParameterType.RequestBody);
var response = client.Execute(request);
package main

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

func main() {

	url := "{{baseUrl}}/deleteAccount"

	payload := strings.NewReader("{\n  \"delegatedProjectNumber\": \"\",\n  \"idToken\": \"\",\n  \"localId\": \"\"\n}")

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

	req.Header.Add("content-type", "application/json")

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

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

	fmt.Println(res)
	fmt.Println(string(body))

}
POST /baseUrl/deleteAccount HTTP/1.1
Content-Type: application/json
Host: example.com
Content-Length: 68

{
  "delegatedProjectNumber": "",
  "idToken": "",
  "localId": ""
}
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/deleteAccount")
  .setHeader("content-type", "application/json")
  .setBody("{\n  \"delegatedProjectNumber\": \"\",\n  \"idToken\": \"\",\n  \"localId\": \"\"\n}")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/deleteAccount"))
    .header("content-type", "application/json")
    .method("POST", HttpRequest.BodyPublishers.ofString("{\n  \"delegatedProjectNumber\": \"\",\n  \"idToken\": \"\",\n  \"localId\": \"\"\n}"))
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n  \"delegatedProjectNumber\": \"\",\n  \"idToken\": \"\",\n  \"localId\": \"\"\n}");
Request request = new Request.Builder()
  .url("{{baseUrl}}/deleteAccount")
  .post(body)
  .addHeader("content-type", "application/json")
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/deleteAccount")
  .header("content-type", "application/json")
  .body("{\n  \"delegatedProjectNumber\": \"\",\n  \"idToken\": \"\",\n  \"localId\": \"\"\n}")
  .asString();
const data = JSON.stringify({
  delegatedProjectNumber: '',
  idToken: '',
  localId: ''
});

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('POST', '{{baseUrl}}/deleteAccount');
xhr.setRequestHeader('content-type', 'application/json');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'POST',
  url: '{{baseUrl}}/deleteAccount',
  headers: {'content-type': 'application/json'},
  data: {delegatedProjectNumber: '', idToken: '', localId: ''}
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/deleteAccount';
const options = {
  method: 'POST',
  headers: {'content-type': 'application/json'},
  body: '{"delegatedProjectNumber":"","idToken":"","localId":""}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/deleteAccount',
  method: 'POST',
  headers: {
    'content-type': 'application/json'
  },
  processData: false,
  data: '{\n  "delegatedProjectNumber": "",\n  "idToken": "",\n  "localId": ""\n}'
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val mediaType = MediaType.parse("application/json")
val body = RequestBody.create(mediaType, "{\n  \"delegatedProjectNumber\": \"\",\n  \"idToken\": \"\",\n  \"localId\": \"\"\n}")
val request = Request.Builder()
  .url("{{baseUrl}}/deleteAccount")
  .post(body)
  .addHeader("content-type", "application/json")
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'POST',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/deleteAccount',
  headers: {
    'content-type': 'application/json'
  }
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.write(JSON.stringify({delegatedProjectNumber: '', idToken: '', localId: ''}));
req.end();
const request = require('request');

const options = {
  method: 'POST',
  url: '{{baseUrl}}/deleteAccount',
  headers: {'content-type': 'application/json'},
  body: {delegatedProjectNumber: '', idToken: '', localId: ''},
  json: true
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('POST', '{{baseUrl}}/deleteAccount');

req.headers({
  'content-type': 'application/json'
});

req.type('json');
req.send({
  delegatedProjectNumber: '',
  idToken: '',
  localId: ''
});

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'POST',
  url: '{{baseUrl}}/deleteAccount',
  headers: {'content-type': 'application/json'},
  data: {delegatedProjectNumber: '', idToken: '', localId: ''}
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/deleteAccount';
const options = {
  method: 'POST',
  headers: {'content-type': 'application/json'},
  body: '{"delegatedProjectNumber":"","idToken":"","localId":""}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSDictionary *headers = @{ @"content-type": @"application/json" };
NSDictionary *parameters = @{ @"delegatedProjectNumber": @"",
                              @"idToken": @"",
                              @"localId": @"" };

NSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/deleteAccount"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
[request setAllHTTPHeaderFields:headers];
[request setHTTPBody:postData];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/deleteAccount" in
let headers = Header.add (Header.init ()) "content-type" "application/json" in
let body = Cohttp_lwt_body.of_string "{\n  \"delegatedProjectNumber\": \"\",\n  \"idToken\": \"\",\n  \"localId\": \"\"\n}" in

Client.call ~headers ~body `POST uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/deleteAccount",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
  CURLOPT_POSTFIELDS => json_encode([
    'delegatedProjectNumber' => '',
    'idToken' => '',
    'localId' => ''
  ]),
  CURLOPT_HTTPHEADER => [
    "content-type: application/json"
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('POST', '{{baseUrl}}/deleteAccount', [
  'body' => '{
  "delegatedProjectNumber": "",
  "idToken": "",
  "localId": ""
}',
  'headers' => [
    'content-type' => 'application/json',
  ],
]);

echo $response->getBody();
setUrl('{{baseUrl}}/deleteAccount');
$request->setMethod(HTTP_METH_POST);

$request->setHeaders([
  'content-type' => 'application/json'
]);

$request->setContentType('application/json');
$request->setBody(json_encode([
  'delegatedProjectNumber' => '',
  'idToken' => '',
  'localId' => ''
]));

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
append(json_encode([
  'delegatedProjectNumber' => '',
  'idToken' => '',
  'localId' => ''
]));
$request->setRequestUrl('{{baseUrl}}/deleteAccount');
$request->setRequestMethod('POST');
$request->setBody($body);

$request->setHeaders([
  'content-type' => 'application/json'
]);

$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-WebRequest -Uri '{{baseUrl}}/deleteAccount' -Method POST -Headers $headers -ContentType 'application/json' -Body '{
  "delegatedProjectNumber": "",
  "idToken": "",
  "localId": ""
}'
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-RestMethod -Uri '{{baseUrl}}/deleteAccount' -Method POST -Headers $headers -ContentType 'application/json' -Body '{
  "delegatedProjectNumber": "",
  "idToken": "",
  "localId": ""
}'
import http.client

conn = http.client.HTTPSConnection("example.com")

payload = "{\n  \"delegatedProjectNumber\": \"\",\n  \"idToken\": \"\",\n  \"localId\": \"\"\n}"

headers = { 'content-type': "application/json" }

conn.request("POST", "/baseUrl/deleteAccount", payload, headers)

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/deleteAccount"

payload = {
    "delegatedProjectNumber": "",
    "idToken": "",
    "localId": ""
}
headers = {"content-type": "application/json"}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
library(httr)

url <- "{{baseUrl}}/deleteAccount"

payload <- "{\n  \"delegatedProjectNumber\": \"\",\n  \"idToken\": \"\",\n  \"localId\": \"\"\n}"

encode <- "json"

response <- VERB("POST", url, body = payload, content_type("application/json"), encode = encode)

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/deleteAccount")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["content-type"] = 'application/json'
request.body = "{\n  \"delegatedProjectNumber\": \"\",\n  \"idToken\": \"\",\n  \"localId\": \"\"\n}"

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
  headers: {'Content-Type' => 'application/json'}
)

response = conn.post('/baseUrl/deleteAccount') do |req|
  req.body = "{\n  \"delegatedProjectNumber\": \"\",\n  \"idToken\": \"\",\n  \"localId\": \"\"\n}"
end

puts response.status
puts response.body
use serde_json::json;
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/deleteAccount";

    let payload = json!({
        "delegatedProjectNumber": "",
        "idToken": "",
        "localId": ""
    });

    let mut headers = reqwest::header::HeaderMap::new();
    headers.insert("content-type", "application/json".parse().unwrap());

    let client = reqwest::Client::new();
    let response = client.post(url)
        .headers(headers)
        .json(&payload)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request POST \
  --url {{baseUrl}}/deleteAccount \
  --header 'content-type: application/json' \
  --data '{
  "delegatedProjectNumber": "",
  "idToken": "",
  "localId": ""
}'
echo '{
  "delegatedProjectNumber": "",
  "idToken": "",
  "localId": ""
}' |  \
  http POST {{baseUrl}}/deleteAccount \
  content-type:application/json
wget --quiet \
  --method POST \
  --header 'content-type: application/json' \
  --body-data '{\n  "delegatedProjectNumber": "",\n  "idToken": "",\n  "localId": ""\n}' \
  --output-document \
  - {{baseUrl}}/deleteAccount
import Foundation

let headers = ["content-type": "application/json"]
let parameters = [
  "delegatedProjectNumber": "",
  "idToken": "",
  "localId": ""
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/deleteAccount")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
POST identitytoolkit.relyingparty.downloadAccount
{{baseUrl}}/downloadAccount
BODY json

{
  "delegatedProjectNumber": "",
  "maxResults": 0,
  "nextPageToken": "",
  "targetProjectId": ""
}
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/downloadAccount");

struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "content-type: application/json");
curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);

curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, "{\n  \"delegatedProjectNumber\": \"\",\n  \"maxResults\": 0,\n  \"nextPageToken\": \"\",\n  \"targetProjectId\": \"\"\n}");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/post "{{baseUrl}}/downloadAccount" {:content-type :json
                                                            :form-params {:delegatedProjectNumber ""
                                                                          :maxResults 0
                                                                          :nextPageToken ""
                                                                          :targetProjectId ""}})
require "http/client"

url = "{{baseUrl}}/downloadAccount"
headers = HTTP::Headers{
  "content-type" => "application/json"
}
reqBody = "{\n  \"delegatedProjectNumber\": \"\",\n  \"maxResults\": 0,\n  \"nextPageToken\": \"\",\n  \"targetProjectId\": \"\"\n}"

response = HTTP::Client.post url, headers: headers, body: reqBody
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Post,
    RequestUri = new Uri("{{baseUrl}}/downloadAccount"),
    Content = new StringContent("{\n  \"delegatedProjectNumber\": \"\",\n  \"maxResults\": 0,\n  \"nextPageToken\": \"\",\n  \"targetProjectId\": \"\"\n}")
    {
        Headers =
        {
            ContentType = new MediaTypeHeaderValue("application/json")
        }
    }
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/downloadAccount");
var request = new RestRequest("", Method.Post);
request.AddHeader("content-type", "application/json");
request.AddParameter("application/json", "{\n  \"delegatedProjectNumber\": \"\",\n  \"maxResults\": 0,\n  \"nextPageToken\": \"\",\n  \"targetProjectId\": \"\"\n}", ParameterType.RequestBody);
var response = client.Execute(request);
package main

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

func main() {

	url := "{{baseUrl}}/downloadAccount"

	payload := strings.NewReader("{\n  \"delegatedProjectNumber\": \"\",\n  \"maxResults\": 0,\n  \"nextPageToken\": \"\",\n  \"targetProjectId\": \"\"\n}")

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

	req.Header.Add("content-type", "application/json")

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

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

	fmt.Println(res)
	fmt.Println(string(body))

}
POST /baseUrl/downloadAccount HTTP/1.1
Content-Type: application/json
Host: example.com
Content-Length: 101

{
  "delegatedProjectNumber": "",
  "maxResults": 0,
  "nextPageToken": "",
  "targetProjectId": ""
}
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/downloadAccount")
  .setHeader("content-type", "application/json")
  .setBody("{\n  \"delegatedProjectNumber\": \"\",\n  \"maxResults\": 0,\n  \"nextPageToken\": \"\",\n  \"targetProjectId\": \"\"\n}")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/downloadAccount"))
    .header("content-type", "application/json")
    .method("POST", HttpRequest.BodyPublishers.ofString("{\n  \"delegatedProjectNumber\": \"\",\n  \"maxResults\": 0,\n  \"nextPageToken\": \"\",\n  \"targetProjectId\": \"\"\n}"))
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n  \"delegatedProjectNumber\": \"\",\n  \"maxResults\": 0,\n  \"nextPageToken\": \"\",\n  \"targetProjectId\": \"\"\n}");
Request request = new Request.Builder()
  .url("{{baseUrl}}/downloadAccount")
  .post(body)
  .addHeader("content-type", "application/json")
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/downloadAccount")
  .header("content-type", "application/json")
  .body("{\n  \"delegatedProjectNumber\": \"\",\n  \"maxResults\": 0,\n  \"nextPageToken\": \"\",\n  \"targetProjectId\": \"\"\n}")
  .asString();
const data = JSON.stringify({
  delegatedProjectNumber: '',
  maxResults: 0,
  nextPageToken: '',
  targetProjectId: ''
});

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('POST', '{{baseUrl}}/downloadAccount');
xhr.setRequestHeader('content-type', 'application/json');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'POST',
  url: '{{baseUrl}}/downloadAccount',
  headers: {'content-type': 'application/json'},
  data: {
    delegatedProjectNumber: '',
    maxResults: 0,
    nextPageToken: '',
    targetProjectId: ''
  }
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/downloadAccount';
const options = {
  method: 'POST',
  headers: {'content-type': 'application/json'},
  body: '{"delegatedProjectNumber":"","maxResults":0,"nextPageToken":"","targetProjectId":""}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/downloadAccount',
  method: 'POST',
  headers: {
    'content-type': 'application/json'
  },
  processData: false,
  data: '{\n  "delegatedProjectNumber": "",\n  "maxResults": 0,\n  "nextPageToken": "",\n  "targetProjectId": ""\n}'
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val mediaType = MediaType.parse("application/json")
val body = RequestBody.create(mediaType, "{\n  \"delegatedProjectNumber\": \"\",\n  \"maxResults\": 0,\n  \"nextPageToken\": \"\",\n  \"targetProjectId\": \"\"\n}")
val request = Request.Builder()
  .url("{{baseUrl}}/downloadAccount")
  .post(body)
  .addHeader("content-type", "application/json")
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'POST',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/downloadAccount',
  headers: {
    'content-type': 'application/json'
  }
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.write(JSON.stringify({
  delegatedProjectNumber: '',
  maxResults: 0,
  nextPageToken: '',
  targetProjectId: ''
}));
req.end();
const request = require('request');

const options = {
  method: 'POST',
  url: '{{baseUrl}}/downloadAccount',
  headers: {'content-type': 'application/json'},
  body: {
    delegatedProjectNumber: '',
    maxResults: 0,
    nextPageToken: '',
    targetProjectId: ''
  },
  json: true
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('POST', '{{baseUrl}}/downloadAccount');

req.headers({
  'content-type': 'application/json'
});

req.type('json');
req.send({
  delegatedProjectNumber: '',
  maxResults: 0,
  nextPageToken: '',
  targetProjectId: ''
});

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'POST',
  url: '{{baseUrl}}/downloadAccount',
  headers: {'content-type': 'application/json'},
  data: {
    delegatedProjectNumber: '',
    maxResults: 0,
    nextPageToken: '',
    targetProjectId: ''
  }
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/downloadAccount';
const options = {
  method: 'POST',
  headers: {'content-type': 'application/json'},
  body: '{"delegatedProjectNumber":"","maxResults":0,"nextPageToken":"","targetProjectId":""}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSDictionary *headers = @{ @"content-type": @"application/json" };
NSDictionary *parameters = @{ @"delegatedProjectNumber": @"",
                              @"maxResults": @0,
                              @"nextPageToken": @"",
                              @"targetProjectId": @"" };

NSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/downloadAccount"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
[request setAllHTTPHeaderFields:headers];
[request setHTTPBody:postData];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/downloadAccount" in
let headers = Header.add (Header.init ()) "content-type" "application/json" in
let body = Cohttp_lwt_body.of_string "{\n  \"delegatedProjectNumber\": \"\",\n  \"maxResults\": 0,\n  \"nextPageToken\": \"\",\n  \"targetProjectId\": \"\"\n}" in

Client.call ~headers ~body `POST uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/downloadAccount",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
  CURLOPT_POSTFIELDS => json_encode([
    'delegatedProjectNumber' => '',
    'maxResults' => 0,
    'nextPageToken' => '',
    'targetProjectId' => ''
  ]),
  CURLOPT_HTTPHEADER => [
    "content-type: application/json"
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('POST', '{{baseUrl}}/downloadAccount', [
  'body' => '{
  "delegatedProjectNumber": "",
  "maxResults": 0,
  "nextPageToken": "",
  "targetProjectId": ""
}',
  'headers' => [
    'content-type' => 'application/json',
  ],
]);

echo $response->getBody();
setUrl('{{baseUrl}}/downloadAccount');
$request->setMethod(HTTP_METH_POST);

$request->setHeaders([
  'content-type' => 'application/json'
]);

$request->setContentType('application/json');
$request->setBody(json_encode([
  'delegatedProjectNumber' => '',
  'maxResults' => 0,
  'nextPageToken' => '',
  'targetProjectId' => ''
]));

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
append(json_encode([
  'delegatedProjectNumber' => '',
  'maxResults' => 0,
  'nextPageToken' => '',
  'targetProjectId' => ''
]));
$request->setRequestUrl('{{baseUrl}}/downloadAccount');
$request->setRequestMethod('POST');
$request->setBody($body);

$request->setHeaders([
  'content-type' => 'application/json'
]);

$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-WebRequest -Uri '{{baseUrl}}/downloadAccount' -Method POST -Headers $headers -ContentType 'application/json' -Body '{
  "delegatedProjectNumber": "",
  "maxResults": 0,
  "nextPageToken": "",
  "targetProjectId": ""
}'
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-RestMethod -Uri '{{baseUrl}}/downloadAccount' -Method POST -Headers $headers -ContentType 'application/json' -Body '{
  "delegatedProjectNumber": "",
  "maxResults": 0,
  "nextPageToken": "",
  "targetProjectId": ""
}'
import http.client

conn = http.client.HTTPSConnection("example.com")

payload = "{\n  \"delegatedProjectNumber\": \"\",\n  \"maxResults\": 0,\n  \"nextPageToken\": \"\",\n  \"targetProjectId\": \"\"\n}"

headers = { 'content-type': "application/json" }

conn.request("POST", "/baseUrl/downloadAccount", payload, headers)

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/downloadAccount"

payload = {
    "delegatedProjectNumber": "",
    "maxResults": 0,
    "nextPageToken": "",
    "targetProjectId": ""
}
headers = {"content-type": "application/json"}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
library(httr)

url <- "{{baseUrl}}/downloadAccount"

payload <- "{\n  \"delegatedProjectNumber\": \"\",\n  \"maxResults\": 0,\n  \"nextPageToken\": \"\",\n  \"targetProjectId\": \"\"\n}"

encode <- "json"

response <- VERB("POST", url, body = payload, content_type("application/json"), encode = encode)

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/downloadAccount")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["content-type"] = 'application/json'
request.body = "{\n  \"delegatedProjectNumber\": \"\",\n  \"maxResults\": 0,\n  \"nextPageToken\": \"\",\n  \"targetProjectId\": \"\"\n}"

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
  headers: {'Content-Type' => 'application/json'}
)

response = conn.post('/baseUrl/downloadAccount') do |req|
  req.body = "{\n  \"delegatedProjectNumber\": \"\",\n  \"maxResults\": 0,\n  \"nextPageToken\": \"\",\n  \"targetProjectId\": \"\"\n}"
end

puts response.status
puts response.body
use serde_json::json;
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/downloadAccount";

    let payload = json!({
        "delegatedProjectNumber": "",
        "maxResults": 0,
        "nextPageToken": "",
        "targetProjectId": ""
    });

    let mut headers = reqwest::header::HeaderMap::new();
    headers.insert("content-type", "application/json".parse().unwrap());

    let client = reqwest::Client::new();
    let response = client.post(url)
        .headers(headers)
        .json(&payload)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request POST \
  --url {{baseUrl}}/downloadAccount \
  --header 'content-type: application/json' \
  --data '{
  "delegatedProjectNumber": "",
  "maxResults": 0,
  "nextPageToken": "",
  "targetProjectId": ""
}'
echo '{
  "delegatedProjectNumber": "",
  "maxResults": 0,
  "nextPageToken": "",
  "targetProjectId": ""
}' |  \
  http POST {{baseUrl}}/downloadAccount \
  content-type:application/json
wget --quiet \
  --method POST \
  --header 'content-type: application/json' \
  --body-data '{\n  "delegatedProjectNumber": "",\n  "maxResults": 0,\n  "nextPageToken": "",\n  "targetProjectId": ""\n}' \
  --output-document \
  - {{baseUrl}}/downloadAccount
import Foundation

let headers = ["content-type": "application/json"]
let parameters = [
  "delegatedProjectNumber": "",
  "maxResults": 0,
  "nextPageToken": "",
  "targetProjectId": ""
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/downloadAccount")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
POST identitytoolkit.relyingparty.emailLinkSignin
{{baseUrl}}/emailLinkSignin
BODY json

{
  "email": "",
  "idToken": "",
  "oobCode": ""
}
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/emailLinkSignin");

struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "content-type: application/json");
curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);

curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, "{\n  \"email\": \"\",\n  \"idToken\": \"\",\n  \"oobCode\": \"\"\n}");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/post "{{baseUrl}}/emailLinkSignin" {:content-type :json
                                                            :form-params {:email ""
                                                                          :idToken ""
                                                                          :oobCode ""}})
require "http/client"

url = "{{baseUrl}}/emailLinkSignin"
headers = HTTP::Headers{
  "content-type" => "application/json"
}
reqBody = "{\n  \"email\": \"\",\n  \"idToken\": \"\",\n  \"oobCode\": \"\"\n}"

response = HTTP::Client.post url, headers: headers, body: reqBody
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Post,
    RequestUri = new Uri("{{baseUrl}}/emailLinkSignin"),
    Content = new StringContent("{\n  \"email\": \"\",\n  \"idToken\": \"\",\n  \"oobCode\": \"\"\n}")
    {
        Headers =
        {
            ContentType = new MediaTypeHeaderValue("application/json")
        }
    }
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/emailLinkSignin");
var request = new RestRequest("", Method.Post);
request.AddHeader("content-type", "application/json");
request.AddParameter("application/json", "{\n  \"email\": \"\",\n  \"idToken\": \"\",\n  \"oobCode\": \"\"\n}", ParameterType.RequestBody);
var response = client.Execute(request);
package main

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

func main() {

	url := "{{baseUrl}}/emailLinkSignin"

	payload := strings.NewReader("{\n  \"email\": \"\",\n  \"idToken\": \"\",\n  \"oobCode\": \"\"\n}")

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

	req.Header.Add("content-type", "application/json")

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

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

	fmt.Println(res)
	fmt.Println(string(body))

}
POST /baseUrl/emailLinkSignin HTTP/1.1
Content-Type: application/json
Host: example.com
Content-Length: 51

{
  "email": "",
  "idToken": "",
  "oobCode": ""
}
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/emailLinkSignin")
  .setHeader("content-type", "application/json")
  .setBody("{\n  \"email\": \"\",\n  \"idToken\": \"\",\n  \"oobCode\": \"\"\n}")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/emailLinkSignin"))
    .header("content-type", "application/json")
    .method("POST", HttpRequest.BodyPublishers.ofString("{\n  \"email\": \"\",\n  \"idToken\": \"\",\n  \"oobCode\": \"\"\n}"))
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n  \"email\": \"\",\n  \"idToken\": \"\",\n  \"oobCode\": \"\"\n}");
Request request = new Request.Builder()
  .url("{{baseUrl}}/emailLinkSignin")
  .post(body)
  .addHeader("content-type", "application/json")
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/emailLinkSignin")
  .header("content-type", "application/json")
  .body("{\n  \"email\": \"\",\n  \"idToken\": \"\",\n  \"oobCode\": \"\"\n}")
  .asString();
const data = JSON.stringify({
  email: '',
  idToken: '',
  oobCode: ''
});

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('POST', '{{baseUrl}}/emailLinkSignin');
xhr.setRequestHeader('content-type', 'application/json');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'POST',
  url: '{{baseUrl}}/emailLinkSignin',
  headers: {'content-type': 'application/json'},
  data: {email: '', idToken: '', oobCode: ''}
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/emailLinkSignin';
const options = {
  method: 'POST',
  headers: {'content-type': 'application/json'},
  body: '{"email":"","idToken":"","oobCode":""}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/emailLinkSignin',
  method: 'POST',
  headers: {
    'content-type': 'application/json'
  },
  processData: false,
  data: '{\n  "email": "",\n  "idToken": "",\n  "oobCode": ""\n}'
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val mediaType = MediaType.parse("application/json")
val body = RequestBody.create(mediaType, "{\n  \"email\": \"\",\n  \"idToken\": \"\",\n  \"oobCode\": \"\"\n}")
val request = Request.Builder()
  .url("{{baseUrl}}/emailLinkSignin")
  .post(body)
  .addHeader("content-type", "application/json")
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'POST',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/emailLinkSignin',
  headers: {
    'content-type': 'application/json'
  }
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.write(JSON.stringify({email: '', idToken: '', oobCode: ''}));
req.end();
const request = require('request');

const options = {
  method: 'POST',
  url: '{{baseUrl}}/emailLinkSignin',
  headers: {'content-type': 'application/json'},
  body: {email: '', idToken: '', oobCode: ''},
  json: true
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('POST', '{{baseUrl}}/emailLinkSignin');

req.headers({
  'content-type': 'application/json'
});

req.type('json');
req.send({
  email: '',
  idToken: '',
  oobCode: ''
});

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'POST',
  url: '{{baseUrl}}/emailLinkSignin',
  headers: {'content-type': 'application/json'},
  data: {email: '', idToken: '', oobCode: ''}
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/emailLinkSignin';
const options = {
  method: 'POST',
  headers: {'content-type': 'application/json'},
  body: '{"email":"","idToken":"","oobCode":""}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSDictionary *headers = @{ @"content-type": @"application/json" };
NSDictionary *parameters = @{ @"email": @"",
                              @"idToken": @"",
                              @"oobCode": @"" };

NSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/emailLinkSignin"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
[request setAllHTTPHeaderFields:headers];
[request setHTTPBody:postData];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/emailLinkSignin" in
let headers = Header.add (Header.init ()) "content-type" "application/json" in
let body = Cohttp_lwt_body.of_string "{\n  \"email\": \"\",\n  \"idToken\": \"\",\n  \"oobCode\": \"\"\n}" in

Client.call ~headers ~body `POST uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/emailLinkSignin",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
  CURLOPT_POSTFIELDS => json_encode([
    'email' => '',
    'idToken' => '',
    'oobCode' => ''
  ]),
  CURLOPT_HTTPHEADER => [
    "content-type: application/json"
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('POST', '{{baseUrl}}/emailLinkSignin', [
  'body' => '{
  "email": "",
  "idToken": "",
  "oobCode": ""
}',
  'headers' => [
    'content-type' => 'application/json',
  ],
]);

echo $response->getBody();
setUrl('{{baseUrl}}/emailLinkSignin');
$request->setMethod(HTTP_METH_POST);

$request->setHeaders([
  'content-type' => 'application/json'
]);

$request->setContentType('application/json');
$request->setBody(json_encode([
  'email' => '',
  'idToken' => '',
  'oobCode' => ''
]));

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
append(json_encode([
  'email' => '',
  'idToken' => '',
  'oobCode' => ''
]));
$request->setRequestUrl('{{baseUrl}}/emailLinkSignin');
$request->setRequestMethod('POST');
$request->setBody($body);

$request->setHeaders([
  'content-type' => 'application/json'
]);

$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-WebRequest -Uri '{{baseUrl}}/emailLinkSignin' -Method POST -Headers $headers -ContentType 'application/json' -Body '{
  "email": "",
  "idToken": "",
  "oobCode": ""
}'
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-RestMethod -Uri '{{baseUrl}}/emailLinkSignin' -Method POST -Headers $headers -ContentType 'application/json' -Body '{
  "email": "",
  "idToken": "",
  "oobCode": ""
}'
import http.client

conn = http.client.HTTPSConnection("example.com")

payload = "{\n  \"email\": \"\",\n  \"idToken\": \"\",\n  \"oobCode\": \"\"\n}"

headers = { 'content-type': "application/json" }

conn.request("POST", "/baseUrl/emailLinkSignin", payload, headers)

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/emailLinkSignin"

payload = {
    "email": "",
    "idToken": "",
    "oobCode": ""
}
headers = {"content-type": "application/json"}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
library(httr)

url <- "{{baseUrl}}/emailLinkSignin"

payload <- "{\n  \"email\": \"\",\n  \"idToken\": \"\",\n  \"oobCode\": \"\"\n}"

encode <- "json"

response <- VERB("POST", url, body = payload, content_type("application/json"), encode = encode)

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/emailLinkSignin")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["content-type"] = 'application/json'
request.body = "{\n  \"email\": \"\",\n  \"idToken\": \"\",\n  \"oobCode\": \"\"\n}"

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
  headers: {'Content-Type' => 'application/json'}
)

response = conn.post('/baseUrl/emailLinkSignin') do |req|
  req.body = "{\n  \"email\": \"\",\n  \"idToken\": \"\",\n  \"oobCode\": \"\"\n}"
end

puts response.status
puts response.body
use serde_json::json;
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/emailLinkSignin";

    let payload = json!({
        "email": "",
        "idToken": "",
        "oobCode": ""
    });

    let mut headers = reqwest::header::HeaderMap::new();
    headers.insert("content-type", "application/json".parse().unwrap());

    let client = reqwest::Client::new();
    let response = client.post(url)
        .headers(headers)
        .json(&payload)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request POST \
  --url {{baseUrl}}/emailLinkSignin \
  --header 'content-type: application/json' \
  --data '{
  "email": "",
  "idToken": "",
  "oobCode": ""
}'
echo '{
  "email": "",
  "idToken": "",
  "oobCode": ""
}' |  \
  http POST {{baseUrl}}/emailLinkSignin \
  content-type:application/json
wget --quiet \
  --method POST \
  --header 'content-type: application/json' \
  --body-data '{\n  "email": "",\n  "idToken": "",\n  "oobCode": ""\n}' \
  --output-document \
  - {{baseUrl}}/emailLinkSignin
import Foundation

let headers = ["content-type": "application/json"]
let parameters = [
  "email": "",
  "idToken": "",
  "oobCode": ""
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/emailLinkSignin")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
POST identitytoolkit.relyingparty.getAccountInfo
{{baseUrl}}/getAccountInfo
BODY json

{
  "delegatedProjectNumber": "",
  "email": [],
  "idToken": "",
  "localId": [],
  "phoneNumber": []
}
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/getAccountInfo");

struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "content-type: application/json");
curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);

curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, "{\n  \"delegatedProjectNumber\": \"\",\n  \"email\": [],\n  \"idToken\": \"\",\n  \"localId\": [],\n  \"phoneNumber\": []\n}");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/post "{{baseUrl}}/getAccountInfo" {:content-type :json
                                                           :form-params {:delegatedProjectNumber ""
                                                                         :email []
                                                                         :idToken ""
                                                                         :localId []
                                                                         :phoneNumber []}})
require "http/client"

url = "{{baseUrl}}/getAccountInfo"
headers = HTTP::Headers{
  "content-type" => "application/json"
}
reqBody = "{\n  \"delegatedProjectNumber\": \"\",\n  \"email\": [],\n  \"idToken\": \"\",\n  \"localId\": [],\n  \"phoneNumber\": []\n}"

response = HTTP::Client.post url, headers: headers, body: reqBody
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Post,
    RequestUri = new Uri("{{baseUrl}}/getAccountInfo"),
    Content = new StringContent("{\n  \"delegatedProjectNumber\": \"\",\n  \"email\": [],\n  \"idToken\": \"\",\n  \"localId\": [],\n  \"phoneNumber\": []\n}")
    {
        Headers =
        {
            ContentType = new MediaTypeHeaderValue("application/json")
        }
    }
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/getAccountInfo");
var request = new RestRequest("", Method.Post);
request.AddHeader("content-type", "application/json");
request.AddParameter("application/json", "{\n  \"delegatedProjectNumber\": \"\",\n  \"email\": [],\n  \"idToken\": \"\",\n  \"localId\": [],\n  \"phoneNumber\": []\n}", ParameterType.RequestBody);
var response = client.Execute(request);
package main

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

func main() {

	url := "{{baseUrl}}/getAccountInfo"

	payload := strings.NewReader("{\n  \"delegatedProjectNumber\": \"\",\n  \"email\": [],\n  \"idToken\": \"\",\n  \"localId\": [],\n  \"phoneNumber\": []\n}")

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

	req.Header.Add("content-type", "application/json")

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

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

	fmt.Println(res)
	fmt.Println(string(body))

}
POST /baseUrl/getAccountInfo HTTP/1.1
Content-Type: application/json
Host: example.com
Content-Length: 104

{
  "delegatedProjectNumber": "",
  "email": [],
  "idToken": "",
  "localId": [],
  "phoneNumber": []
}
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/getAccountInfo")
  .setHeader("content-type", "application/json")
  .setBody("{\n  \"delegatedProjectNumber\": \"\",\n  \"email\": [],\n  \"idToken\": \"\",\n  \"localId\": [],\n  \"phoneNumber\": []\n}")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/getAccountInfo"))
    .header("content-type", "application/json")
    .method("POST", HttpRequest.BodyPublishers.ofString("{\n  \"delegatedProjectNumber\": \"\",\n  \"email\": [],\n  \"idToken\": \"\",\n  \"localId\": [],\n  \"phoneNumber\": []\n}"))
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n  \"delegatedProjectNumber\": \"\",\n  \"email\": [],\n  \"idToken\": \"\",\n  \"localId\": [],\n  \"phoneNumber\": []\n}");
Request request = new Request.Builder()
  .url("{{baseUrl}}/getAccountInfo")
  .post(body)
  .addHeader("content-type", "application/json")
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/getAccountInfo")
  .header("content-type", "application/json")
  .body("{\n  \"delegatedProjectNumber\": \"\",\n  \"email\": [],\n  \"idToken\": \"\",\n  \"localId\": [],\n  \"phoneNumber\": []\n}")
  .asString();
const data = JSON.stringify({
  delegatedProjectNumber: '',
  email: [],
  idToken: '',
  localId: [],
  phoneNumber: []
});

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('POST', '{{baseUrl}}/getAccountInfo');
xhr.setRequestHeader('content-type', 'application/json');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'POST',
  url: '{{baseUrl}}/getAccountInfo',
  headers: {'content-type': 'application/json'},
  data: {
    delegatedProjectNumber: '',
    email: [],
    idToken: '',
    localId: [],
    phoneNumber: []
  }
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/getAccountInfo';
const options = {
  method: 'POST',
  headers: {'content-type': 'application/json'},
  body: '{"delegatedProjectNumber":"","email":[],"idToken":"","localId":[],"phoneNumber":[]}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/getAccountInfo',
  method: 'POST',
  headers: {
    'content-type': 'application/json'
  },
  processData: false,
  data: '{\n  "delegatedProjectNumber": "",\n  "email": [],\n  "idToken": "",\n  "localId": [],\n  "phoneNumber": []\n}'
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val mediaType = MediaType.parse("application/json")
val body = RequestBody.create(mediaType, "{\n  \"delegatedProjectNumber\": \"\",\n  \"email\": [],\n  \"idToken\": \"\",\n  \"localId\": [],\n  \"phoneNumber\": []\n}")
val request = Request.Builder()
  .url("{{baseUrl}}/getAccountInfo")
  .post(body)
  .addHeader("content-type", "application/json")
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'POST',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/getAccountInfo',
  headers: {
    'content-type': 'application/json'
  }
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.write(JSON.stringify({
  delegatedProjectNumber: '',
  email: [],
  idToken: '',
  localId: [],
  phoneNumber: []
}));
req.end();
const request = require('request');

const options = {
  method: 'POST',
  url: '{{baseUrl}}/getAccountInfo',
  headers: {'content-type': 'application/json'},
  body: {
    delegatedProjectNumber: '',
    email: [],
    idToken: '',
    localId: [],
    phoneNumber: []
  },
  json: true
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('POST', '{{baseUrl}}/getAccountInfo');

req.headers({
  'content-type': 'application/json'
});

req.type('json');
req.send({
  delegatedProjectNumber: '',
  email: [],
  idToken: '',
  localId: [],
  phoneNumber: []
});

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'POST',
  url: '{{baseUrl}}/getAccountInfo',
  headers: {'content-type': 'application/json'},
  data: {
    delegatedProjectNumber: '',
    email: [],
    idToken: '',
    localId: [],
    phoneNumber: []
  }
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/getAccountInfo';
const options = {
  method: 'POST',
  headers: {'content-type': 'application/json'},
  body: '{"delegatedProjectNumber":"","email":[],"idToken":"","localId":[],"phoneNumber":[]}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSDictionary *headers = @{ @"content-type": @"application/json" };
NSDictionary *parameters = @{ @"delegatedProjectNumber": @"",
                              @"email": @[  ],
                              @"idToken": @"",
                              @"localId": @[  ],
                              @"phoneNumber": @[  ] };

NSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/getAccountInfo"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
[request setAllHTTPHeaderFields:headers];
[request setHTTPBody:postData];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/getAccountInfo" in
let headers = Header.add (Header.init ()) "content-type" "application/json" in
let body = Cohttp_lwt_body.of_string "{\n  \"delegatedProjectNumber\": \"\",\n  \"email\": [],\n  \"idToken\": \"\",\n  \"localId\": [],\n  \"phoneNumber\": []\n}" in

Client.call ~headers ~body `POST uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/getAccountInfo",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
  CURLOPT_POSTFIELDS => json_encode([
    'delegatedProjectNumber' => '',
    'email' => [
        
    ],
    'idToken' => '',
    'localId' => [
        
    ],
    'phoneNumber' => [
        
    ]
  ]),
  CURLOPT_HTTPHEADER => [
    "content-type: application/json"
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('POST', '{{baseUrl}}/getAccountInfo', [
  'body' => '{
  "delegatedProjectNumber": "",
  "email": [],
  "idToken": "",
  "localId": [],
  "phoneNumber": []
}',
  'headers' => [
    'content-type' => 'application/json',
  ],
]);

echo $response->getBody();
setUrl('{{baseUrl}}/getAccountInfo');
$request->setMethod(HTTP_METH_POST);

$request->setHeaders([
  'content-type' => 'application/json'
]);

$request->setContentType('application/json');
$request->setBody(json_encode([
  'delegatedProjectNumber' => '',
  'email' => [
    
  ],
  'idToken' => '',
  'localId' => [
    
  ],
  'phoneNumber' => [
    
  ]
]));

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
append(json_encode([
  'delegatedProjectNumber' => '',
  'email' => [
    
  ],
  'idToken' => '',
  'localId' => [
    
  ],
  'phoneNumber' => [
    
  ]
]));
$request->setRequestUrl('{{baseUrl}}/getAccountInfo');
$request->setRequestMethod('POST');
$request->setBody($body);

$request->setHeaders([
  'content-type' => 'application/json'
]);

$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-WebRequest -Uri '{{baseUrl}}/getAccountInfo' -Method POST -Headers $headers -ContentType 'application/json' -Body '{
  "delegatedProjectNumber": "",
  "email": [],
  "idToken": "",
  "localId": [],
  "phoneNumber": []
}'
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-RestMethod -Uri '{{baseUrl}}/getAccountInfo' -Method POST -Headers $headers -ContentType 'application/json' -Body '{
  "delegatedProjectNumber": "",
  "email": [],
  "idToken": "",
  "localId": [],
  "phoneNumber": []
}'
import http.client

conn = http.client.HTTPSConnection("example.com")

payload = "{\n  \"delegatedProjectNumber\": \"\",\n  \"email\": [],\n  \"idToken\": \"\",\n  \"localId\": [],\n  \"phoneNumber\": []\n}"

headers = { 'content-type': "application/json" }

conn.request("POST", "/baseUrl/getAccountInfo", payload, headers)

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/getAccountInfo"

payload = {
    "delegatedProjectNumber": "",
    "email": [],
    "idToken": "",
    "localId": [],
    "phoneNumber": []
}
headers = {"content-type": "application/json"}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
library(httr)

url <- "{{baseUrl}}/getAccountInfo"

payload <- "{\n  \"delegatedProjectNumber\": \"\",\n  \"email\": [],\n  \"idToken\": \"\",\n  \"localId\": [],\n  \"phoneNumber\": []\n}"

encode <- "json"

response <- VERB("POST", url, body = payload, content_type("application/json"), encode = encode)

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/getAccountInfo")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["content-type"] = 'application/json'
request.body = "{\n  \"delegatedProjectNumber\": \"\",\n  \"email\": [],\n  \"idToken\": \"\",\n  \"localId\": [],\n  \"phoneNumber\": []\n}"

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
  headers: {'Content-Type' => 'application/json'}
)

response = conn.post('/baseUrl/getAccountInfo') do |req|
  req.body = "{\n  \"delegatedProjectNumber\": \"\",\n  \"email\": [],\n  \"idToken\": \"\",\n  \"localId\": [],\n  \"phoneNumber\": []\n}"
end

puts response.status
puts response.body
use serde_json::json;
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/getAccountInfo";

    let payload = json!({
        "delegatedProjectNumber": "",
        "email": (),
        "idToken": "",
        "localId": (),
        "phoneNumber": ()
    });

    let mut headers = reqwest::header::HeaderMap::new();
    headers.insert("content-type", "application/json".parse().unwrap());

    let client = reqwest::Client::new();
    let response = client.post(url)
        .headers(headers)
        .json(&payload)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request POST \
  --url {{baseUrl}}/getAccountInfo \
  --header 'content-type: application/json' \
  --data '{
  "delegatedProjectNumber": "",
  "email": [],
  "idToken": "",
  "localId": [],
  "phoneNumber": []
}'
echo '{
  "delegatedProjectNumber": "",
  "email": [],
  "idToken": "",
  "localId": [],
  "phoneNumber": []
}' |  \
  http POST {{baseUrl}}/getAccountInfo \
  content-type:application/json
wget --quiet \
  --method POST \
  --header 'content-type: application/json' \
  --body-data '{\n  "delegatedProjectNumber": "",\n  "email": [],\n  "idToken": "",\n  "localId": [],\n  "phoneNumber": []\n}' \
  --output-document \
  - {{baseUrl}}/getAccountInfo
import Foundation

let headers = ["content-type": "application/json"]
let parameters = [
  "delegatedProjectNumber": "",
  "email": [],
  "idToken": "",
  "localId": [],
  "phoneNumber": []
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/getAccountInfo")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
POST identitytoolkit.relyingparty.getOobConfirmationCode
{{baseUrl}}/getOobConfirmationCode
BODY json

{
  "androidInstallApp": false,
  "androidMinimumVersion": "",
  "androidPackageName": "",
  "canHandleCodeInApp": false,
  "captchaResp": "",
  "challenge": "",
  "continueUrl": "",
  "email": "",
  "iOSAppStoreId": "",
  "iOSBundleId": "",
  "idToken": "",
  "kind": "",
  "newEmail": "",
  "requestType": "",
  "userIp": ""
}
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/getOobConfirmationCode");

struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "content-type: application/json");
curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);

curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, "{\n  \"androidInstallApp\": false,\n  \"androidMinimumVersion\": \"\",\n  \"androidPackageName\": \"\",\n  \"canHandleCodeInApp\": false,\n  \"captchaResp\": \"\",\n  \"challenge\": \"\",\n  \"continueUrl\": \"\",\n  \"email\": \"\",\n  \"iOSAppStoreId\": \"\",\n  \"iOSBundleId\": \"\",\n  \"idToken\": \"\",\n  \"kind\": \"\",\n  \"newEmail\": \"\",\n  \"requestType\": \"\",\n  \"userIp\": \"\"\n}");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/post "{{baseUrl}}/getOobConfirmationCode" {:content-type :json
                                                                   :form-params {:androidInstallApp false
                                                                                 :androidMinimumVersion ""
                                                                                 :androidPackageName ""
                                                                                 :canHandleCodeInApp false
                                                                                 :captchaResp ""
                                                                                 :challenge ""
                                                                                 :continueUrl ""
                                                                                 :email ""
                                                                                 :iOSAppStoreId ""
                                                                                 :iOSBundleId ""
                                                                                 :idToken ""
                                                                                 :kind ""
                                                                                 :newEmail ""
                                                                                 :requestType ""
                                                                                 :userIp ""}})
require "http/client"

url = "{{baseUrl}}/getOobConfirmationCode"
headers = HTTP::Headers{
  "content-type" => "application/json"
}
reqBody = "{\n  \"androidInstallApp\": false,\n  \"androidMinimumVersion\": \"\",\n  \"androidPackageName\": \"\",\n  \"canHandleCodeInApp\": false,\n  \"captchaResp\": \"\",\n  \"challenge\": \"\",\n  \"continueUrl\": \"\",\n  \"email\": \"\",\n  \"iOSAppStoreId\": \"\",\n  \"iOSBundleId\": \"\",\n  \"idToken\": \"\",\n  \"kind\": \"\",\n  \"newEmail\": \"\",\n  \"requestType\": \"\",\n  \"userIp\": \"\"\n}"

response = HTTP::Client.post url, headers: headers, body: reqBody
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Post,
    RequestUri = new Uri("{{baseUrl}}/getOobConfirmationCode"),
    Content = new StringContent("{\n  \"androidInstallApp\": false,\n  \"androidMinimumVersion\": \"\",\n  \"androidPackageName\": \"\",\n  \"canHandleCodeInApp\": false,\n  \"captchaResp\": \"\",\n  \"challenge\": \"\",\n  \"continueUrl\": \"\",\n  \"email\": \"\",\n  \"iOSAppStoreId\": \"\",\n  \"iOSBundleId\": \"\",\n  \"idToken\": \"\",\n  \"kind\": \"\",\n  \"newEmail\": \"\",\n  \"requestType\": \"\",\n  \"userIp\": \"\"\n}")
    {
        Headers =
        {
            ContentType = new MediaTypeHeaderValue("application/json")
        }
    }
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/getOobConfirmationCode");
var request = new RestRequest("", Method.Post);
request.AddHeader("content-type", "application/json");
request.AddParameter("application/json", "{\n  \"androidInstallApp\": false,\n  \"androidMinimumVersion\": \"\",\n  \"androidPackageName\": \"\",\n  \"canHandleCodeInApp\": false,\n  \"captchaResp\": \"\",\n  \"challenge\": \"\",\n  \"continueUrl\": \"\",\n  \"email\": \"\",\n  \"iOSAppStoreId\": \"\",\n  \"iOSBundleId\": \"\",\n  \"idToken\": \"\",\n  \"kind\": \"\",\n  \"newEmail\": \"\",\n  \"requestType\": \"\",\n  \"userIp\": \"\"\n}", ParameterType.RequestBody);
var response = client.Execute(request);
package main

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

func main() {

	url := "{{baseUrl}}/getOobConfirmationCode"

	payload := strings.NewReader("{\n  \"androidInstallApp\": false,\n  \"androidMinimumVersion\": \"\",\n  \"androidPackageName\": \"\",\n  \"canHandleCodeInApp\": false,\n  \"captchaResp\": \"\",\n  \"challenge\": \"\",\n  \"continueUrl\": \"\",\n  \"email\": \"\",\n  \"iOSAppStoreId\": \"\",\n  \"iOSBundleId\": \"\",\n  \"idToken\": \"\",\n  \"kind\": \"\",\n  \"newEmail\": \"\",\n  \"requestType\": \"\",\n  \"userIp\": \"\"\n}")

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

	req.Header.Add("content-type", "application/json")

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

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

	fmt.Println(res)
	fmt.Println(string(body))

}
POST /baseUrl/getOobConfirmationCode HTTP/1.1
Content-Type: application/json
Host: example.com
Content-Length: 328

{
  "androidInstallApp": false,
  "androidMinimumVersion": "",
  "androidPackageName": "",
  "canHandleCodeInApp": false,
  "captchaResp": "",
  "challenge": "",
  "continueUrl": "",
  "email": "",
  "iOSAppStoreId": "",
  "iOSBundleId": "",
  "idToken": "",
  "kind": "",
  "newEmail": "",
  "requestType": "",
  "userIp": ""
}
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/getOobConfirmationCode")
  .setHeader("content-type", "application/json")
  .setBody("{\n  \"androidInstallApp\": false,\n  \"androidMinimumVersion\": \"\",\n  \"androidPackageName\": \"\",\n  \"canHandleCodeInApp\": false,\n  \"captchaResp\": \"\",\n  \"challenge\": \"\",\n  \"continueUrl\": \"\",\n  \"email\": \"\",\n  \"iOSAppStoreId\": \"\",\n  \"iOSBundleId\": \"\",\n  \"idToken\": \"\",\n  \"kind\": \"\",\n  \"newEmail\": \"\",\n  \"requestType\": \"\",\n  \"userIp\": \"\"\n}")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/getOobConfirmationCode"))
    .header("content-type", "application/json")
    .method("POST", HttpRequest.BodyPublishers.ofString("{\n  \"androidInstallApp\": false,\n  \"androidMinimumVersion\": \"\",\n  \"androidPackageName\": \"\",\n  \"canHandleCodeInApp\": false,\n  \"captchaResp\": \"\",\n  \"challenge\": \"\",\n  \"continueUrl\": \"\",\n  \"email\": \"\",\n  \"iOSAppStoreId\": \"\",\n  \"iOSBundleId\": \"\",\n  \"idToken\": \"\",\n  \"kind\": \"\",\n  \"newEmail\": \"\",\n  \"requestType\": \"\",\n  \"userIp\": \"\"\n}"))
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n  \"androidInstallApp\": false,\n  \"androidMinimumVersion\": \"\",\n  \"androidPackageName\": \"\",\n  \"canHandleCodeInApp\": false,\n  \"captchaResp\": \"\",\n  \"challenge\": \"\",\n  \"continueUrl\": \"\",\n  \"email\": \"\",\n  \"iOSAppStoreId\": \"\",\n  \"iOSBundleId\": \"\",\n  \"idToken\": \"\",\n  \"kind\": \"\",\n  \"newEmail\": \"\",\n  \"requestType\": \"\",\n  \"userIp\": \"\"\n}");
Request request = new Request.Builder()
  .url("{{baseUrl}}/getOobConfirmationCode")
  .post(body)
  .addHeader("content-type", "application/json")
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/getOobConfirmationCode")
  .header("content-type", "application/json")
  .body("{\n  \"androidInstallApp\": false,\n  \"androidMinimumVersion\": \"\",\n  \"androidPackageName\": \"\",\n  \"canHandleCodeInApp\": false,\n  \"captchaResp\": \"\",\n  \"challenge\": \"\",\n  \"continueUrl\": \"\",\n  \"email\": \"\",\n  \"iOSAppStoreId\": \"\",\n  \"iOSBundleId\": \"\",\n  \"idToken\": \"\",\n  \"kind\": \"\",\n  \"newEmail\": \"\",\n  \"requestType\": \"\",\n  \"userIp\": \"\"\n}")
  .asString();
const data = JSON.stringify({
  androidInstallApp: false,
  androidMinimumVersion: '',
  androidPackageName: '',
  canHandleCodeInApp: false,
  captchaResp: '',
  challenge: '',
  continueUrl: '',
  email: '',
  iOSAppStoreId: '',
  iOSBundleId: '',
  idToken: '',
  kind: '',
  newEmail: '',
  requestType: '',
  userIp: ''
});

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('POST', '{{baseUrl}}/getOobConfirmationCode');
xhr.setRequestHeader('content-type', 'application/json');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'POST',
  url: '{{baseUrl}}/getOobConfirmationCode',
  headers: {'content-type': 'application/json'},
  data: {
    androidInstallApp: false,
    androidMinimumVersion: '',
    androidPackageName: '',
    canHandleCodeInApp: false,
    captchaResp: '',
    challenge: '',
    continueUrl: '',
    email: '',
    iOSAppStoreId: '',
    iOSBundleId: '',
    idToken: '',
    kind: '',
    newEmail: '',
    requestType: '',
    userIp: ''
  }
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/getOobConfirmationCode';
const options = {
  method: 'POST',
  headers: {'content-type': 'application/json'},
  body: '{"androidInstallApp":false,"androidMinimumVersion":"","androidPackageName":"","canHandleCodeInApp":false,"captchaResp":"","challenge":"","continueUrl":"","email":"","iOSAppStoreId":"","iOSBundleId":"","idToken":"","kind":"","newEmail":"","requestType":"","userIp":""}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/getOobConfirmationCode',
  method: 'POST',
  headers: {
    'content-type': 'application/json'
  },
  processData: false,
  data: '{\n  "androidInstallApp": false,\n  "androidMinimumVersion": "",\n  "androidPackageName": "",\n  "canHandleCodeInApp": false,\n  "captchaResp": "",\n  "challenge": "",\n  "continueUrl": "",\n  "email": "",\n  "iOSAppStoreId": "",\n  "iOSBundleId": "",\n  "idToken": "",\n  "kind": "",\n  "newEmail": "",\n  "requestType": "",\n  "userIp": ""\n}'
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val mediaType = MediaType.parse("application/json")
val body = RequestBody.create(mediaType, "{\n  \"androidInstallApp\": false,\n  \"androidMinimumVersion\": \"\",\n  \"androidPackageName\": \"\",\n  \"canHandleCodeInApp\": false,\n  \"captchaResp\": \"\",\n  \"challenge\": \"\",\n  \"continueUrl\": \"\",\n  \"email\": \"\",\n  \"iOSAppStoreId\": \"\",\n  \"iOSBundleId\": \"\",\n  \"idToken\": \"\",\n  \"kind\": \"\",\n  \"newEmail\": \"\",\n  \"requestType\": \"\",\n  \"userIp\": \"\"\n}")
val request = Request.Builder()
  .url("{{baseUrl}}/getOobConfirmationCode")
  .post(body)
  .addHeader("content-type", "application/json")
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'POST',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/getOobConfirmationCode',
  headers: {
    'content-type': 'application/json'
  }
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.write(JSON.stringify({
  androidInstallApp: false,
  androidMinimumVersion: '',
  androidPackageName: '',
  canHandleCodeInApp: false,
  captchaResp: '',
  challenge: '',
  continueUrl: '',
  email: '',
  iOSAppStoreId: '',
  iOSBundleId: '',
  idToken: '',
  kind: '',
  newEmail: '',
  requestType: '',
  userIp: ''
}));
req.end();
const request = require('request');

const options = {
  method: 'POST',
  url: '{{baseUrl}}/getOobConfirmationCode',
  headers: {'content-type': 'application/json'},
  body: {
    androidInstallApp: false,
    androidMinimumVersion: '',
    androidPackageName: '',
    canHandleCodeInApp: false,
    captchaResp: '',
    challenge: '',
    continueUrl: '',
    email: '',
    iOSAppStoreId: '',
    iOSBundleId: '',
    idToken: '',
    kind: '',
    newEmail: '',
    requestType: '',
    userIp: ''
  },
  json: true
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('POST', '{{baseUrl}}/getOobConfirmationCode');

req.headers({
  'content-type': 'application/json'
});

req.type('json');
req.send({
  androidInstallApp: false,
  androidMinimumVersion: '',
  androidPackageName: '',
  canHandleCodeInApp: false,
  captchaResp: '',
  challenge: '',
  continueUrl: '',
  email: '',
  iOSAppStoreId: '',
  iOSBundleId: '',
  idToken: '',
  kind: '',
  newEmail: '',
  requestType: '',
  userIp: ''
});

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'POST',
  url: '{{baseUrl}}/getOobConfirmationCode',
  headers: {'content-type': 'application/json'},
  data: {
    androidInstallApp: false,
    androidMinimumVersion: '',
    androidPackageName: '',
    canHandleCodeInApp: false,
    captchaResp: '',
    challenge: '',
    continueUrl: '',
    email: '',
    iOSAppStoreId: '',
    iOSBundleId: '',
    idToken: '',
    kind: '',
    newEmail: '',
    requestType: '',
    userIp: ''
  }
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/getOobConfirmationCode';
const options = {
  method: 'POST',
  headers: {'content-type': 'application/json'},
  body: '{"androidInstallApp":false,"androidMinimumVersion":"","androidPackageName":"","canHandleCodeInApp":false,"captchaResp":"","challenge":"","continueUrl":"","email":"","iOSAppStoreId":"","iOSBundleId":"","idToken":"","kind":"","newEmail":"","requestType":"","userIp":""}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSDictionary *headers = @{ @"content-type": @"application/json" };
NSDictionary *parameters = @{ @"androidInstallApp": @NO,
                              @"androidMinimumVersion": @"",
                              @"androidPackageName": @"",
                              @"canHandleCodeInApp": @NO,
                              @"captchaResp": @"",
                              @"challenge": @"",
                              @"continueUrl": @"",
                              @"email": @"",
                              @"iOSAppStoreId": @"",
                              @"iOSBundleId": @"",
                              @"idToken": @"",
                              @"kind": @"",
                              @"newEmail": @"",
                              @"requestType": @"",
                              @"userIp": @"" };

NSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/getOobConfirmationCode"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
[request setAllHTTPHeaderFields:headers];
[request setHTTPBody:postData];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/getOobConfirmationCode" in
let headers = Header.add (Header.init ()) "content-type" "application/json" in
let body = Cohttp_lwt_body.of_string "{\n  \"androidInstallApp\": false,\n  \"androidMinimumVersion\": \"\",\n  \"androidPackageName\": \"\",\n  \"canHandleCodeInApp\": false,\n  \"captchaResp\": \"\",\n  \"challenge\": \"\",\n  \"continueUrl\": \"\",\n  \"email\": \"\",\n  \"iOSAppStoreId\": \"\",\n  \"iOSBundleId\": \"\",\n  \"idToken\": \"\",\n  \"kind\": \"\",\n  \"newEmail\": \"\",\n  \"requestType\": \"\",\n  \"userIp\": \"\"\n}" in

Client.call ~headers ~body `POST uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/getOobConfirmationCode",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
  CURLOPT_POSTFIELDS => json_encode([
    'androidInstallApp' => null,
    'androidMinimumVersion' => '',
    'androidPackageName' => '',
    'canHandleCodeInApp' => null,
    'captchaResp' => '',
    'challenge' => '',
    'continueUrl' => '',
    'email' => '',
    'iOSAppStoreId' => '',
    'iOSBundleId' => '',
    'idToken' => '',
    'kind' => '',
    'newEmail' => '',
    'requestType' => '',
    'userIp' => ''
  ]),
  CURLOPT_HTTPHEADER => [
    "content-type: application/json"
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('POST', '{{baseUrl}}/getOobConfirmationCode', [
  'body' => '{
  "androidInstallApp": false,
  "androidMinimumVersion": "",
  "androidPackageName": "",
  "canHandleCodeInApp": false,
  "captchaResp": "",
  "challenge": "",
  "continueUrl": "",
  "email": "",
  "iOSAppStoreId": "",
  "iOSBundleId": "",
  "idToken": "",
  "kind": "",
  "newEmail": "",
  "requestType": "",
  "userIp": ""
}',
  'headers' => [
    'content-type' => 'application/json',
  ],
]);

echo $response->getBody();
setUrl('{{baseUrl}}/getOobConfirmationCode');
$request->setMethod(HTTP_METH_POST);

$request->setHeaders([
  'content-type' => 'application/json'
]);

$request->setContentType('application/json');
$request->setBody(json_encode([
  'androidInstallApp' => null,
  'androidMinimumVersion' => '',
  'androidPackageName' => '',
  'canHandleCodeInApp' => null,
  'captchaResp' => '',
  'challenge' => '',
  'continueUrl' => '',
  'email' => '',
  'iOSAppStoreId' => '',
  'iOSBundleId' => '',
  'idToken' => '',
  'kind' => '',
  'newEmail' => '',
  'requestType' => '',
  'userIp' => ''
]));

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
append(json_encode([
  'androidInstallApp' => null,
  'androidMinimumVersion' => '',
  'androidPackageName' => '',
  'canHandleCodeInApp' => null,
  'captchaResp' => '',
  'challenge' => '',
  'continueUrl' => '',
  'email' => '',
  'iOSAppStoreId' => '',
  'iOSBundleId' => '',
  'idToken' => '',
  'kind' => '',
  'newEmail' => '',
  'requestType' => '',
  'userIp' => ''
]));
$request->setRequestUrl('{{baseUrl}}/getOobConfirmationCode');
$request->setRequestMethod('POST');
$request->setBody($body);

$request->setHeaders([
  'content-type' => 'application/json'
]);

$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-WebRequest -Uri '{{baseUrl}}/getOobConfirmationCode' -Method POST -Headers $headers -ContentType 'application/json' -Body '{
  "androidInstallApp": false,
  "androidMinimumVersion": "",
  "androidPackageName": "",
  "canHandleCodeInApp": false,
  "captchaResp": "",
  "challenge": "",
  "continueUrl": "",
  "email": "",
  "iOSAppStoreId": "",
  "iOSBundleId": "",
  "idToken": "",
  "kind": "",
  "newEmail": "",
  "requestType": "",
  "userIp": ""
}'
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-RestMethod -Uri '{{baseUrl}}/getOobConfirmationCode' -Method POST -Headers $headers -ContentType 'application/json' -Body '{
  "androidInstallApp": false,
  "androidMinimumVersion": "",
  "androidPackageName": "",
  "canHandleCodeInApp": false,
  "captchaResp": "",
  "challenge": "",
  "continueUrl": "",
  "email": "",
  "iOSAppStoreId": "",
  "iOSBundleId": "",
  "idToken": "",
  "kind": "",
  "newEmail": "",
  "requestType": "",
  "userIp": ""
}'
import http.client

conn = http.client.HTTPSConnection("example.com")

payload = "{\n  \"androidInstallApp\": false,\n  \"androidMinimumVersion\": \"\",\n  \"androidPackageName\": \"\",\n  \"canHandleCodeInApp\": false,\n  \"captchaResp\": \"\",\n  \"challenge\": \"\",\n  \"continueUrl\": \"\",\n  \"email\": \"\",\n  \"iOSAppStoreId\": \"\",\n  \"iOSBundleId\": \"\",\n  \"idToken\": \"\",\n  \"kind\": \"\",\n  \"newEmail\": \"\",\n  \"requestType\": \"\",\n  \"userIp\": \"\"\n}"

headers = { 'content-type': "application/json" }

conn.request("POST", "/baseUrl/getOobConfirmationCode", payload, headers)

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/getOobConfirmationCode"

payload = {
    "androidInstallApp": False,
    "androidMinimumVersion": "",
    "androidPackageName": "",
    "canHandleCodeInApp": False,
    "captchaResp": "",
    "challenge": "",
    "continueUrl": "",
    "email": "",
    "iOSAppStoreId": "",
    "iOSBundleId": "",
    "idToken": "",
    "kind": "",
    "newEmail": "",
    "requestType": "",
    "userIp": ""
}
headers = {"content-type": "application/json"}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
library(httr)

url <- "{{baseUrl}}/getOobConfirmationCode"

payload <- "{\n  \"androidInstallApp\": false,\n  \"androidMinimumVersion\": \"\",\n  \"androidPackageName\": \"\",\n  \"canHandleCodeInApp\": false,\n  \"captchaResp\": \"\",\n  \"challenge\": \"\",\n  \"continueUrl\": \"\",\n  \"email\": \"\",\n  \"iOSAppStoreId\": \"\",\n  \"iOSBundleId\": \"\",\n  \"idToken\": \"\",\n  \"kind\": \"\",\n  \"newEmail\": \"\",\n  \"requestType\": \"\",\n  \"userIp\": \"\"\n}"

encode <- "json"

response <- VERB("POST", url, body = payload, content_type("application/json"), encode = encode)

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/getOobConfirmationCode")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["content-type"] = 'application/json'
request.body = "{\n  \"androidInstallApp\": false,\n  \"androidMinimumVersion\": \"\",\n  \"androidPackageName\": \"\",\n  \"canHandleCodeInApp\": false,\n  \"captchaResp\": \"\",\n  \"challenge\": \"\",\n  \"continueUrl\": \"\",\n  \"email\": \"\",\n  \"iOSAppStoreId\": \"\",\n  \"iOSBundleId\": \"\",\n  \"idToken\": \"\",\n  \"kind\": \"\",\n  \"newEmail\": \"\",\n  \"requestType\": \"\",\n  \"userIp\": \"\"\n}"

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
  headers: {'Content-Type' => 'application/json'}
)

response = conn.post('/baseUrl/getOobConfirmationCode') do |req|
  req.body = "{\n  \"androidInstallApp\": false,\n  \"androidMinimumVersion\": \"\",\n  \"androidPackageName\": \"\",\n  \"canHandleCodeInApp\": false,\n  \"captchaResp\": \"\",\n  \"challenge\": \"\",\n  \"continueUrl\": \"\",\n  \"email\": \"\",\n  \"iOSAppStoreId\": \"\",\n  \"iOSBundleId\": \"\",\n  \"idToken\": \"\",\n  \"kind\": \"\",\n  \"newEmail\": \"\",\n  \"requestType\": \"\",\n  \"userIp\": \"\"\n}"
end

puts response.status
puts response.body
use serde_json::json;
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/getOobConfirmationCode";

    let payload = json!({
        "androidInstallApp": false,
        "androidMinimumVersion": "",
        "androidPackageName": "",
        "canHandleCodeInApp": false,
        "captchaResp": "",
        "challenge": "",
        "continueUrl": "",
        "email": "",
        "iOSAppStoreId": "",
        "iOSBundleId": "",
        "idToken": "",
        "kind": "",
        "newEmail": "",
        "requestType": "",
        "userIp": ""
    });

    let mut headers = reqwest::header::HeaderMap::new();
    headers.insert("content-type", "application/json".parse().unwrap());

    let client = reqwest::Client::new();
    let response = client.post(url)
        .headers(headers)
        .json(&payload)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request POST \
  --url {{baseUrl}}/getOobConfirmationCode \
  --header 'content-type: application/json' \
  --data '{
  "androidInstallApp": false,
  "androidMinimumVersion": "",
  "androidPackageName": "",
  "canHandleCodeInApp": false,
  "captchaResp": "",
  "challenge": "",
  "continueUrl": "",
  "email": "",
  "iOSAppStoreId": "",
  "iOSBundleId": "",
  "idToken": "",
  "kind": "",
  "newEmail": "",
  "requestType": "",
  "userIp": ""
}'
echo '{
  "androidInstallApp": false,
  "androidMinimumVersion": "",
  "androidPackageName": "",
  "canHandleCodeInApp": false,
  "captchaResp": "",
  "challenge": "",
  "continueUrl": "",
  "email": "",
  "iOSAppStoreId": "",
  "iOSBundleId": "",
  "idToken": "",
  "kind": "",
  "newEmail": "",
  "requestType": "",
  "userIp": ""
}' |  \
  http POST {{baseUrl}}/getOobConfirmationCode \
  content-type:application/json
wget --quiet \
  --method POST \
  --header 'content-type: application/json' \
  --body-data '{\n  "androidInstallApp": false,\n  "androidMinimumVersion": "",\n  "androidPackageName": "",\n  "canHandleCodeInApp": false,\n  "captchaResp": "",\n  "challenge": "",\n  "continueUrl": "",\n  "email": "",\n  "iOSAppStoreId": "",\n  "iOSBundleId": "",\n  "idToken": "",\n  "kind": "",\n  "newEmail": "",\n  "requestType": "",\n  "userIp": ""\n}' \
  --output-document \
  - {{baseUrl}}/getOobConfirmationCode
import Foundation

let headers = ["content-type": "application/json"]
let parameters = [
  "androidInstallApp": false,
  "androidMinimumVersion": "",
  "androidPackageName": "",
  "canHandleCodeInApp": false,
  "captchaResp": "",
  "challenge": "",
  "continueUrl": "",
  "email": "",
  "iOSAppStoreId": "",
  "iOSBundleId": "",
  "idToken": "",
  "kind": "",
  "newEmail": "",
  "requestType": "",
  "userIp": ""
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/getOobConfirmationCode")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
GET identitytoolkit.relyingparty.getProjectConfig
{{baseUrl}}/getProjectConfig
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/getProjectConfig");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/get "{{baseUrl}}/getProjectConfig")
require "http/client"

url = "{{baseUrl}}/getProjectConfig"

response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Get,
    RequestUri = new Uri("{{baseUrl}}/getProjectConfig"),
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/getProjectConfig");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main

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

func main() {

	url := "{{baseUrl}}/getProjectConfig"

	req, _ := http.NewRequest("GET", url, nil)

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

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

	fmt.Println(res)
	fmt.Println(string(body))

}
GET /baseUrl/getProjectConfig HTTP/1.1
Host: example.com

AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/getProjectConfig")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/getProjectConfig"))
    .method("GET", HttpRequest.BodyPublishers.noBody())
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("{{baseUrl}}/getProjectConfig")
  .get()
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/getProjectConfig")
  .asString();
const data = null;

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('GET', '{{baseUrl}}/getProjectConfig');

xhr.send(data);
import axios from 'axios';

const options = {method: 'GET', url: '{{baseUrl}}/getProjectConfig'};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/getProjectConfig';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/getProjectConfig',
  method: 'GET',
  headers: {}
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val request = Request.Builder()
  .url("{{baseUrl}}/getProjectConfig")
  .get()
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'GET',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/getProjectConfig',
  headers: {}
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.end();
const request = require('request');

const options = {method: 'GET', url: '{{baseUrl}}/getProjectConfig'};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('GET', '{{baseUrl}}/getProjectConfig');

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {method: 'GET', url: '{{baseUrl}}/getProjectConfig'};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/getProjectConfig';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/getProjectConfig"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/getProjectConfig" in

Client.call `GET uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/getProjectConfig",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('GET', '{{baseUrl}}/getProjectConfig');

echo $response->getBody();
setUrl('{{baseUrl}}/getProjectConfig');
$request->setMethod(HTTP_METH_GET);

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
setRequestUrl('{{baseUrl}}/getProjectConfig');
$request->setRequestMethod('GET');
$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/getProjectConfig' -Method GET 
$response = Invoke-RestMethod -Uri '{{baseUrl}}/getProjectConfig' -Method GET 
import http.client

conn = http.client.HTTPSConnection("example.com")

conn.request("GET", "/baseUrl/getProjectConfig")

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/getProjectConfig"

response = requests.get(url)

print(response.json())
library(httr)

url <- "{{baseUrl}}/getProjectConfig"

response <- VERB("GET", url, content_type("application/octet-stream"))

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/getProjectConfig")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
)

response = conn.get('/baseUrl/getProjectConfig') do |req|
end

puts response.status
puts response.body
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/getProjectConfig";

    let client = reqwest::Client::new();
    let response = client.get(url)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request GET \
  --url {{baseUrl}}/getProjectConfig
http GET {{baseUrl}}/getProjectConfig
wget --quiet \
  --method GET \
  --output-document \
  - {{baseUrl}}/getProjectConfig
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/getProjectConfig")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
GET identitytoolkit.relyingparty.getPublicKeys
{{baseUrl}}/publicKeys
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/publicKeys");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/get "{{baseUrl}}/publicKeys")
require "http/client"

url = "{{baseUrl}}/publicKeys"

response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Get,
    RequestUri = new Uri("{{baseUrl}}/publicKeys"),
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/publicKeys");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main

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

func main() {

	url := "{{baseUrl}}/publicKeys"

	req, _ := http.NewRequest("GET", url, nil)

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

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

	fmt.Println(res)
	fmt.Println(string(body))

}
GET /baseUrl/publicKeys HTTP/1.1
Host: example.com

AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/publicKeys")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/publicKeys"))
    .method("GET", HttpRequest.BodyPublishers.noBody())
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("{{baseUrl}}/publicKeys")
  .get()
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/publicKeys")
  .asString();
const data = null;

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('GET', '{{baseUrl}}/publicKeys');

xhr.send(data);
import axios from 'axios';

const options = {method: 'GET', url: '{{baseUrl}}/publicKeys'};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/publicKeys';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/publicKeys',
  method: 'GET',
  headers: {}
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val request = Request.Builder()
  .url("{{baseUrl}}/publicKeys")
  .get()
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'GET',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/publicKeys',
  headers: {}
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.end();
const request = require('request');

const options = {method: 'GET', url: '{{baseUrl}}/publicKeys'};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('GET', '{{baseUrl}}/publicKeys');

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {method: 'GET', url: '{{baseUrl}}/publicKeys'};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/publicKeys';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/publicKeys"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/publicKeys" in

Client.call `GET uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/publicKeys",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('GET', '{{baseUrl}}/publicKeys');

echo $response->getBody();
setUrl('{{baseUrl}}/publicKeys');
$request->setMethod(HTTP_METH_GET);

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
setRequestUrl('{{baseUrl}}/publicKeys');
$request->setRequestMethod('GET');
$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/publicKeys' -Method GET 
$response = Invoke-RestMethod -Uri '{{baseUrl}}/publicKeys' -Method GET 
import http.client

conn = http.client.HTTPSConnection("example.com")

conn.request("GET", "/baseUrl/publicKeys")

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/publicKeys"

response = requests.get(url)

print(response.json())
library(httr)

url <- "{{baseUrl}}/publicKeys"

response <- VERB("GET", url, content_type("application/octet-stream"))

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/publicKeys")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
)

response = conn.get('/baseUrl/publicKeys') do |req|
end

puts response.status
puts response.body
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/publicKeys";

    let client = reqwest::Client::new();
    let response = client.get(url)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request GET \
  --url {{baseUrl}}/publicKeys
http GET {{baseUrl}}/publicKeys
wget --quiet \
  --method GET \
  --output-document \
  - {{baseUrl}}/publicKeys
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/publicKeys")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
GET identitytoolkit.relyingparty.getRecaptchaParam
{{baseUrl}}/getRecaptchaParam
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/getRecaptchaParam");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/get "{{baseUrl}}/getRecaptchaParam")
require "http/client"

url = "{{baseUrl}}/getRecaptchaParam"

response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Get,
    RequestUri = new Uri("{{baseUrl}}/getRecaptchaParam"),
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/getRecaptchaParam");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main

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

func main() {

	url := "{{baseUrl}}/getRecaptchaParam"

	req, _ := http.NewRequest("GET", url, nil)

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

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

	fmt.Println(res)
	fmt.Println(string(body))

}
GET /baseUrl/getRecaptchaParam HTTP/1.1
Host: example.com

AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/getRecaptchaParam")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/getRecaptchaParam"))
    .method("GET", HttpRequest.BodyPublishers.noBody())
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("{{baseUrl}}/getRecaptchaParam")
  .get()
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/getRecaptchaParam")
  .asString();
const data = null;

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('GET', '{{baseUrl}}/getRecaptchaParam');

xhr.send(data);
import axios from 'axios';

const options = {method: 'GET', url: '{{baseUrl}}/getRecaptchaParam'};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/getRecaptchaParam';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/getRecaptchaParam',
  method: 'GET',
  headers: {}
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val request = Request.Builder()
  .url("{{baseUrl}}/getRecaptchaParam")
  .get()
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'GET',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/getRecaptchaParam',
  headers: {}
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.end();
const request = require('request');

const options = {method: 'GET', url: '{{baseUrl}}/getRecaptchaParam'};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('GET', '{{baseUrl}}/getRecaptchaParam');

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {method: 'GET', url: '{{baseUrl}}/getRecaptchaParam'};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/getRecaptchaParam';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/getRecaptchaParam"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/getRecaptchaParam" in

Client.call `GET uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/getRecaptchaParam",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('GET', '{{baseUrl}}/getRecaptchaParam');

echo $response->getBody();
setUrl('{{baseUrl}}/getRecaptchaParam');
$request->setMethod(HTTP_METH_GET);

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
setRequestUrl('{{baseUrl}}/getRecaptchaParam');
$request->setRequestMethod('GET');
$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/getRecaptchaParam' -Method GET 
$response = Invoke-RestMethod -Uri '{{baseUrl}}/getRecaptchaParam' -Method GET 
import http.client

conn = http.client.HTTPSConnection("example.com")

conn.request("GET", "/baseUrl/getRecaptchaParam")

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/getRecaptchaParam"

response = requests.get(url)

print(response.json())
library(httr)

url <- "{{baseUrl}}/getRecaptchaParam"

response <- VERB("GET", url, content_type("application/octet-stream"))

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/getRecaptchaParam")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
)

response = conn.get('/baseUrl/getRecaptchaParam') do |req|
end

puts response.status
puts response.body
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/getRecaptchaParam";

    let client = reqwest::Client::new();
    let response = client.get(url)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request GET \
  --url {{baseUrl}}/getRecaptchaParam
http GET {{baseUrl}}/getRecaptchaParam
wget --quiet \
  --method GET \
  --output-document \
  - {{baseUrl}}/getRecaptchaParam
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/getRecaptchaParam")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
POST identitytoolkit.relyingparty.resetPassword
{{baseUrl}}/resetPassword
BODY json

{
  "email": "",
  "newPassword": "",
  "oldPassword": "",
  "oobCode": ""
}
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/resetPassword");

struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "content-type: application/json");
curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);

curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, "{\n  \"email\": \"\",\n  \"newPassword\": \"\",\n  \"oldPassword\": \"\",\n  \"oobCode\": \"\"\n}");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/post "{{baseUrl}}/resetPassword" {:content-type :json
                                                          :form-params {:email ""
                                                                        :newPassword ""
                                                                        :oldPassword ""
                                                                        :oobCode ""}})
require "http/client"

url = "{{baseUrl}}/resetPassword"
headers = HTTP::Headers{
  "content-type" => "application/json"
}
reqBody = "{\n  \"email\": \"\",\n  \"newPassword\": \"\",\n  \"oldPassword\": \"\",\n  \"oobCode\": \"\"\n}"

response = HTTP::Client.post url, headers: headers, body: reqBody
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Post,
    RequestUri = new Uri("{{baseUrl}}/resetPassword"),
    Content = new StringContent("{\n  \"email\": \"\",\n  \"newPassword\": \"\",\n  \"oldPassword\": \"\",\n  \"oobCode\": \"\"\n}")
    {
        Headers =
        {
            ContentType = new MediaTypeHeaderValue("application/json")
        }
    }
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/resetPassword");
var request = new RestRequest("", Method.Post);
request.AddHeader("content-type", "application/json");
request.AddParameter("application/json", "{\n  \"email\": \"\",\n  \"newPassword\": \"\",\n  \"oldPassword\": \"\",\n  \"oobCode\": \"\"\n}", ParameterType.RequestBody);
var response = client.Execute(request);
package main

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

func main() {

	url := "{{baseUrl}}/resetPassword"

	payload := strings.NewReader("{\n  \"email\": \"\",\n  \"newPassword\": \"\",\n  \"oldPassword\": \"\",\n  \"oobCode\": \"\"\n}")

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

	req.Header.Add("content-type", "application/json")

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

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

	fmt.Println(res)
	fmt.Println(string(body))

}
POST /baseUrl/resetPassword HTTP/1.1
Content-Type: application/json
Host: example.com
Content-Length: 76

{
  "email": "",
  "newPassword": "",
  "oldPassword": "",
  "oobCode": ""
}
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/resetPassword")
  .setHeader("content-type", "application/json")
  .setBody("{\n  \"email\": \"\",\n  \"newPassword\": \"\",\n  \"oldPassword\": \"\",\n  \"oobCode\": \"\"\n}")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/resetPassword"))
    .header("content-type", "application/json")
    .method("POST", HttpRequest.BodyPublishers.ofString("{\n  \"email\": \"\",\n  \"newPassword\": \"\",\n  \"oldPassword\": \"\",\n  \"oobCode\": \"\"\n}"))
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n  \"email\": \"\",\n  \"newPassword\": \"\",\n  \"oldPassword\": \"\",\n  \"oobCode\": \"\"\n}");
Request request = new Request.Builder()
  .url("{{baseUrl}}/resetPassword")
  .post(body)
  .addHeader("content-type", "application/json")
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/resetPassword")
  .header("content-type", "application/json")
  .body("{\n  \"email\": \"\",\n  \"newPassword\": \"\",\n  \"oldPassword\": \"\",\n  \"oobCode\": \"\"\n}")
  .asString();
const data = JSON.stringify({
  email: '',
  newPassword: '',
  oldPassword: '',
  oobCode: ''
});

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('POST', '{{baseUrl}}/resetPassword');
xhr.setRequestHeader('content-type', 'application/json');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'POST',
  url: '{{baseUrl}}/resetPassword',
  headers: {'content-type': 'application/json'},
  data: {email: '', newPassword: '', oldPassword: '', oobCode: ''}
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/resetPassword';
const options = {
  method: 'POST',
  headers: {'content-type': 'application/json'},
  body: '{"email":"","newPassword":"","oldPassword":"","oobCode":""}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/resetPassword',
  method: 'POST',
  headers: {
    'content-type': 'application/json'
  },
  processData: false,
  data: '{\n  "email": "",\n  "newPassword": "",\n  "oldPassword": "",\n  "oobCode": ""\n}'
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val mediaType = MediaType.parse("application/json")
val body = RequestBody.create(mediaType, "{\n  \"email\": \"\",\n  \"newPassword\": \"\",\n  \"oldPassword\": \"\",\n  \"oobCode\": \"\"\n}")
val request = Request.Builder()
  .url("{{baseUrl}}/resetPassword")
  .post(body)
  .addHeader("content-type", "application/json")
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'POST',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/resetPassword',
  headers: {
    'content-type': 'application/json'
  }
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.write(JSON.stringify({email: '', newPassword: '', oldPassword: '', oobCode: ''}));
req.end();
const request = require('request');

const options = {
  method: 'POST',
  url: '{{baseUrl}}/resetPassword',
  headers: {'content-type': 'application/json'},
  body: {email: '', newPassword: '', oldPassword: '', oobCode: ''},
  json: true
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('POST', '{{baseUrl}}/resetPassword');

req.headers({
  'content-type': 'application/json'
});

req.type('json');
req.send({
  email: '',
  newPassword: '',
  oldPassword: '',
  oobCode: ''
});

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'POST',
  url: '{{baseUrl}}/resetPassword',
  headers: {'content-type': 'application/json'},
  data: {email: '', newPassword: '', oldPassword: '', oobCode: ''}
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/resetPassword';
const options = {
  method: 'POST',
  headers: {'content-type': 'application/json'},
  body: '{"email":"","newPassword":"","oldPassword":"","oobCode":""}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSDictionary *headers = @{ @"content-type": @"application/json" };
NSDictionary *parameters = @{ @"email": @"",
                              @"newPassword": @"",
                              @"oldPassword": @"",
                              @"oobCode": @"" };

NSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/resetPassword"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
[request setAllHTTPHeaderFields:headers];
[request setHTTPBody:postData];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/resetPassword" in
let headers = Header.add (Header.init ()) "content-type" "application/json" in
let body = Cohttp_lwt_body.of_string "{\n  \"email\": \"\",\n  \"newPassword\": \"\",\n  \"oldPassword\": \"\",\n  \"oobCode\": \"\"\n}" in

Client.call ~headers ~body `POST uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/resetPassword",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
  CURLOPT_POSTFIELDS => json_encode([
    'email' => '',
    'newPassword' => '',
    'oldPassword' => '',
    'oobCode' => ''
  ]),
  CURLOPT_HTTPHEADER => [
    "content-type: application/json"
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('POST', '{{baseUrl}}/resetPassword', [
  'body' => '{
  "email": "",
  "newPassword": "",
  "oldPassword": "",
  "oobCode": ""
}',
  'headers' => [
    'content-type' => 'application/json',
  ],
]);

echo $response->getBody();
setUrl('{{baseUrl}}/resetPassword');
$request->setMethod(HTTP_METH_POST);

$request->setHeaders([
  'content-type' => 'application/json'
]);

$request->setContentType('application/json');
$request->setBody(json_encode([
  'email' => '',
  'newPassword' => '',
  'oldPassword' => '',
  'oobCode' => ''
]));

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
append(json_encode([
  'email' => '',
  'newPassword' => '',
  'oldPassword' => '',
  'oobCode' => ''
]));
$request->setRequestUrl('{{baseUrl}}/resetPassword');
$request->setRequestMethod('POST');
$request->setBody($body);

$request->setHeaders([
  'content-type' => 'application/json'
]);

$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-WebRequest -Uri '{{baseUrl}}/resetPassword' -Method POST -Headers $headers -ContentType 'application/json' -Body '{
  "email": "",
  "newPassword": "",
  "oldPassword": "",
  "oobCode": ""
}'
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-RestMethod -Uri '{{baseUrl}}/resetPassword' -Method POST -Headers $headers -ContentType 'application/json' -Body '{
  "email": "",
  "newPassword": "",
  "oldPassword": "",
  "oobCode": ""
}'
import http.client

conn = http.client.HTTPSConnection("example.com")

payload = "{\n  \"email\": \"\",\n  \"newPassword\": \"\",\n  \"oldPassword\": \"\",\n  \"oobCode\": \"\"\n}"

headers = { 'content-type': "application/json" }

conn.request("POST", "/baseUrl/resetPassword", payload, headers)

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/resetPassword"

payload = {
    "email": "",
    "newPassword": "",
    "oldPassword": "",
    "oobCode": ""
}
headers = {"content-type": "application/json"}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
library(httr)

url <- "{{baseUrl}}/resetPassword"

payload <- "{\n  \"email\": \"\",\n  \"newPassword\": \"\",\n  \"oldPassword\": \"\",\n  \"oobCode\": \"\"\n}"

encode <- "json"

response <- VERB("POST", url, body = payload, content_type("application/json"), encode = encode)

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/resetPassword")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["content-type"] = 'application/json'
request.body = "{\n  \"email\": \"\",\n  \"newPassword\": \"\",\n  \"oldPassword\": \"\",\n  \"oobCode\": \"\"\n}"

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
  headers: {'Content-Type' => 'application/json'}
)

response = conn.post('/baseUrl/resetPassword') do |req|
  req.body = "{\n  \"email\": \"\",\n  \"newPassword\": \"\",\n  \"oldPassword\": \"\",\n  \"oobCode\": \"\"\n}"
end

puts response.status
puts response.body
use serde_json::json;
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/resetPassword";

    let payload = json!({
        "email": "",
        "newPassword": "",
        "oldPassword": "",
        "oobCode": ""
    });

    let mut headers = reqwest::header::HeaderMap::new();
    headers.insert("content-type", "application/json".parse().unwrap());

    let client = reqwest::Client::new();
    let response = client.post(url)
        .headers(headers)
        .json(&payload)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request POST \
  --url {{baseUrl}}/resetPassword \
  --header 'content-type: application/json' \
  --data '{
  "email": "",
  "newPassword": "",
  "oldPassword": "",
  "oobCode": ""
}'
echo '{
  "email": "",
  "newPassword": "",
  "oldPassword": "",
  "oobCode": ""
}' |  \
  http POST {{baseUrl}}/resetPassword \
  content-type:application/json
wget --quiet \
  --method POST \
  --header 'content-type: application/json' \
  --body-data '{\n  "email": "",\n  "newPassword": "",\n  "oldPassword": "",\n  "oobCode": ""\n}' \
  --output-document \
  - {{baseUrl}}/resetPassword
import Foundation

let headers = ["content-type": "application/json"]
let parameters = [
  "email": "",
  "newPassword": "",
  "oldPassword": "",
  "oobCode": ""
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/resetPassword")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
POST identitytoolkit.relyingparty.sendVerificationCode
{{baseUrl}}/sendVerificationCode
BODY json

{
  "iosReceipt": "",
  "iosSecret": "",
  "phoneNumber": "",
  "recaptchaToken": ""
}
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/sendVerificationCode");

struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "content-type: application/json");
curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);

curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, "{\n  \"iosReceipt\": \"\",\n  \"iosSecret\": \"\",\n  \"phoneNumber\": \"\",\n  \"recaptchaToken\": \"\"\n}");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/post "{{baseUrl}}/sendVerificationCode" {:content-type :json
                                                                 :form-params {:iosReceipt ""
                                                                               :iosSecret ""
                                                                               :phoneNumber ""
                                                                               :recaptchaToken ""}})
require "http/client"

url = "{{baseUrl}}/sendVerificationCode"
headers = HTTP::Headers{
  "content-type" => "application/json"
}
reqBody = "{\n  \"iosReceipt\": \"\",\n  \"iosSecret\": \"\",\n  \"phoneNumber\": \"\",\n  \"recaptchaToken\": \"\"\n}"

response = HTTP::Client.post url, headers: headers, body: reqBody
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Post,
    RequestUri = new Uri("{{baseUrl}}/sendVerificationCode"),
    Content = new StringContent("{\n  \"iosReceipt\": \"\",\n  \"iosSecret\": \"\",\n  \"phoneNumber\": \"\",\n  \"recaptchaToken\": \"\"\n}")
    {
        Headers =
        {
            ContentType = new MediaTypeHeaderValue("application/json")
        }
    }
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/sendVerificationCode");
var request = new RestRequest("", Method.Post);
request.AddHeader("content-type", "application/json");
request.AddParameter("application/json", "{\n  \"iosReceipt\": \"\",\n  \"iosSecret\": \"\",\n  \"phoneNumber\": \"\",\n  \"recaptchaToken\": \"\"\n}", ParameterType.RequestBody);
var response = client.Execute(request);
package main

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

func main() {

	url := "{{baseUrl}}/sendVerificationCode"

	payload := strings.NewReader("{\n  \"iosReceipt\": \"\",\n  \"iosSecret\": \"\",\n  \"phoneNumber\": \"\",\n  \"recaptchaToken\": \"\"\n}")

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

	req.Header.Add("content-type", "application/json")

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

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

	fmt.Println(res)
	fmt.Println(string(body))

}
POST /baseUrl/sendVerificationCode HTTP/1.1
Content-Type: application/json
Host: example.com
Content-Length: 86

{
  "iosReceipt": "",
  "iosSecret": "",
  "phoneNumber": "",
  "recaptchaToken": ""
}
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/sendVerificationCode")
  .setHeader("content-type", "application/json")
  .setBody("{\n  \"iosReceipt\": \"\",\n  \"iosSecret\": \"\",\n  \"phoneNumber\": \"\",\n  \"recaptchaToken\": \"\"\n}")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/sendVerificationCode"))
    .header("content-type", "application/json")
    .method("POST", HttpRequest.BodyPublishers.ofString("{\n  \"iosReceipt\": \"\",\n  \"iosSecret\": \"\",\n  \"phoneNumber\": \"\",\n  \"recaptchaToken\": \"\"\n}"))
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n  \"iosReceipt\": \"\",\n  \"iosSecret\": \"\",\n  \"phoneNumber\": \"\",\n  \"recaptchaToken\": \"\"\n}");
Request request = new Request.Builder()
  .url("{{baseUrl}}/sendVerificationCode")
  .post(body)
  .addHeader("content-type", "application/json")
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/sendVerificationCode")
  .header("content-type", "application/json")
  .body("{\n  \"iosReceipt\": \"\",\n  \"iosSecret\": \"\",\n  \"phoneNumber\": \"\",\n  \"recaptchaToken\": \"\"\n}")
  .asString();
const data = JSON.stringify({
  iosReceipt: '',
  iosSecret: '',
  phoneNumber: '',
  recaptchaToken: ''
});

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('POST', '{{baseUrl}}/sendVerificationCode');
xhr.setRequestHeader('content-type', 'application/json');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'POST',
  url: '{{baseUrl}}/sendVerificationCode',
  headers: {'content-type': 'application/json'},
  data: {iosReceipt: '', iosSecret: '', phoneNumber: '', recaptchaToken: ''}
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/sendVerificationCode';
const options = {
  method: 'POST',
  headers: {'content-type': 'application/json'},
  body: '{"iosReceipt":"","iosSecret":"","phoneNumber":"","recaptchaToken":""}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/sendVerificationCode',
  method: 'POST',
  headers: {
    'content-type': 'application/json'
  },
  processData: false,
  data: '{\n  "iosReceipt": "",\n  "iosSecret": "",\n  "phoneNumber": "",\n  "recaptchaToken": ""\n}'
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val mediaType = MediaType.parse("application/json")
val body = RequestBody.create(mediaType, "{\n  \"iosReceipt\": \"\",\n  \"iosSecret\": \"\",\n  \"phoneNumber\": \"\",\n  \"recaptchaToken\": \"\"\n}")
val request = Request.Builder()
  .url("{{baseUrl}}/sendVerificationCode")
  .post(body)
  .addHeader("content-type", "application/json")
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'POST',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/sendVerificationCode',
  headers: {
    'content-type': 'application/json'
  }
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.write(JSON.stringify({iosReceipt: '', iosSecret: '', phoneNumber: '', recaptchaToken: ''}));
req.end();
const request = require('request');

const options = {
  method: 'POST',
  url: '{{baseUrl}}/sendVerificationCode',
  headers: {'content-type': 'application/json'},
  body: {iosReceipt: '', iosSecret: '', phoneNumber: '', recaptchaToken: ''},
  json: true
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('POST', '{{baseUrl}}/sendVerificationCode');

req.headers({
  'content-type': 'application/json'
});

req.type('json');
req.send({
  iosReceipt: '',
  iosSecret: '',
  phoneNumber: '',
  recaptchaToken: ''
});

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'POST',
  url: '{{baseUrl}}/sendVerificationCode',
  headers: {'content-type': 'application/json'},
  data: {iosReceipt: '', iosSecret: '', phoneNumber: '', recaptchaToken: ''}
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/sendVerificationCode';
const options = {
  method: 'POST',
  headers: {'content-type': 'application/json'},
  body: '{"iosReceipt":"","iosSecret":"","phoneNumber":"","recaptchaToken":""}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSDictionary *headers = @{ @"content-type": @"application/json" };
NSDictionary *parameters = @{ @"iosReceipt": @"",
                              @"iosSecret": @"",
                              @"phoneNumber": @"",
                              @"recaptchaToken": @"" };

NSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/sendVerificationCode"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
[request setAllHTTPHeaderFields:headers];
[request setHTTPBody:postData];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/sendVerificationCode" in
let headers = Header.add (Header.init ()) "content-type" "application/json" in
let body = Cohttp_lwt_body.of_string "{\n  \"iosReceipt\": \"\",\n  \"iosSecret\": \"\",\n  \"phoneNumber\": \"\",\n  \"recaptchaToken\": \"\"\n}" in

Client.call ~headers ~body `POST uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/sendVerificationCode",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
  CURLOPT_POSTFIELDS => json_encode([
    'iosReceipt' => '',
    'iosSecret' => '',
    'phoneNumber' => '',
    'recaptchaToken' => ''
  ]),
  CURLOPT_HTTPHEADER => [
    "content-type: application/json"
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('POST', '{{baseUrl}}/sendVerificationCode', [
  'body' => '{
  "iosReceipt": "",
  "iosSecret": "",
  "phoneNumber": "",
  "recaptchaToken": ""
}',
  'headers' => [
    'content-type' => 'application/json',
  ],
]);

echo $response->getBody();
setUrl('{{baseUrl}}/sendVerificationCode');
$request->setMethod(HTTP_METH_POST);

$request->setHeaders([
  'content-type' => 'application/json'
]);

$request->setContentType('application/json');
$request->setBody(json_encode([
  'iosReceipt' => '',
  'iosSecret' => '',
  'phoneNumber' => '',
  'recaptchaToken' => ''
]));

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
append(json_encode([
  'iosReceipt' => '',
  'iosSecret' => '',
  'phoneNumber' => '',
  'recaptchaToken' => ''
]));
$request->setRequestUrl('{{baseUrl}}/sendVerificationCode');
$request->setRequestMethod('POST');
$request->setBody($body);

$request->setHeaders([
  'content-type' => 'application/json'
]);

$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-WebRequest -Uri '{{baseUrl}}/sendVerificationCode' -Method POST -Headers $headers -ContentType 'application/json' -Body '{
  "iosReceipt": "",
  "iosSecret": "",
  "phoneNumber": "",
  "recaptchaToken": ""
}'
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-RestMethod -Uri '{{baseUrl}}/sendVerificationCode' -Method POST -Headers $headers -ContentType 'application/json' -Body '{
  "iosReceipt": "",
  "iosSecret": "",
  "phoneNumber": "",
  "recaptchaToken": ""
}'
import http.client

conn = http.client.HTTPSConnection("example.com")

payload = "{\n  \"iosReceipt\": \"\",\n  \"iosSecret\": \"\",\n  \"phoneNumber\": \"\",\n  \"recaptchaToken\": \"\"\n}"

headers = { 'content-type': "application/json" }

conn.request("POST", "/baseUrl/sendVerificationCode", payload, headers)

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/sendVerificationCode"

payload = {
    "iosReceipt": "",
    "iosSecret": "",
    "phoneNumber": "",
    "recaptchaToken": ""
}
headers = {"content-type": "application/json"}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
library(httr)

url <- "{{baseUrl}}/sendVerificationCode"

payload <- "{\n  \"iosReceipt\": \"\",\n  \"iosSecret\": \"\",\n  \"phoneNumber\": \"\",\n  \"recaptchaToken\": \"\"\n}"

encode <- "json"

response <- VERB("POST", url, body = payload, content_type("application/json"), encode = encode)

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/sendVerificationCode")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["content-type"] = 'application/json'
request.body = "{\n  \"iosReceipt\": \"\",\n  \"iosSecret\": \"\",\n  \"phoneNumber\": \"\",\n  \"recaptchaToken\": \"\"\n}"

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
  headers: {'Content-Type' => 'application/json'}
)

response = conn.post('/baseUrl/sendVerificationCode') do |req|
  req.body = "{\n  \"iosReceipt\": \"\",\n  \"iosSecret\": \"\",\n  \"phoneNumber\": \"\",\n  \"recaptchaToken\": \"\"\n}"
end

puts response.status
puts response.body
use serde_json::json;
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/sendVerificationCode";

    let payload = json!({
        "iosReceipt": "",
        "iosSecret": "",
        "phoneNumber": "",
        "recaptchaToken": ""
    });

    let mut headers = reqwest::header::HeaderMap::new();
    headers.insert("content-type", "application/json".parse().unwrap());

    let client = reqwest::Client::new();
    let response = client.post(url)
        .headers(headers)
        .json(&payload)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request POST \
  --url {{baseUrl}}/sendVerificationCode \
  --header 'content-type: application/json' \
  --data '{
  "iosReceipt": "",
  "iosSecret": "",
  "phoneNumber": "",
  "recaptchaToken": ""
}'
echo '{
  "iosReceipt": "",
  "iosSecret": "",
  "phoneNumber": "",
  "recaptchaToken": ""
}' |  \
  http POST {{baseUrl}}/sendVerificationCode \
  content-type:application/json
wget --quiet \
  --method POST \
  --header 'content-type: application/json' \
  --body-data '{\n  "iosReceipt": "",\n  "iosSecret": "",\n  "phoneNumber": "",\n  "recaptchaToken": ""\n}' \
  --output-document \
  - {{baseUrl}}/sendVerificationCode
import Foundation

let headers = ["content-type": "application/json"]
let parameters = [
  "iosReceipt": "",
  "iosSecret": "",
  "phoneNumber": "",
  "recaptchaToken": ""
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/sendVerificationCode")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
POST identitytoolkit.relyingparty.setAccountInfo
{{baseUrl}}/setAccountInfo
BODY json

{
  "captchaChallenge": "",
  "captchaResponse": "",
  "createdAt": "",
  "customAttributes": "",
  "delegatedProjectNumber": "",
  "deleteAttribute": [],
  "deleteProvider": [],
  "disableUser": false,
  "displayName": "",
  "email": "",
  "emailVerified": false,
  "idToken": "",
  "instanceId": "",
  "lastLoginAt": "",
  "localId": "",
  "oobCode": "",
  "password": "",
  "phoneNumber": "",
  "photoUrl": "",
  "provider": [],
  "returnSecureToken": false,
  "upgradeToFederatedLogin": false,
  "validSince": ""
}
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/setAccountInfo");

struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "content-type: application/json");
curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);

curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, "{\n  \"captchaChallenge\": \"\",\n  \"captchaResponse\": \"\",\n  \"createdAt\": \"\",\n  \"customAttributes\": \"\",\n  \"delegatedProjectNumber\": \"\",\n  \"deleteAttribute\": [],\n  \"deleteProvider\": [],\n  \"disableUser\": false,\n  \"displayName\": \"\",\n  \"email\": \"\",\n  \"emailVerified\": false,\n  \"idToken\": \"\",\n  \"instanceId\": \"\",\n  \"lastLoginAt\": \"\",\n  \"localId\": \"\",\n  \"oobCode\": \"\",\n  \"password\": \"\",\n  \"phoneNumber\": \"\",\n  \"photoUrl\": \"\",\n  \"provider\": [],\n  \"returnSecureToken\": false,\n  \"upgradeToFederatedLogin\": false,\n  \"validSince\": \"\"\n}");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/post "{{baseUrl}}/setAccountInfo" {:content-type :json
                                                           :form-params {:captchaChallenge ""
                                                                         :captchaResponse ""
                                                                         :createdAt ""
                                                                         :customAttributes ""
                                                                         :delegatedProjectNumber ""
                                                                         :deleteAttribute []
                                                                         :deleteProvider []
                                                                         :disableUser false
                                                                         :displayName ""
                                                                         :email ""
                                                                         :emailVerified false
                                                                         :idToken ""
                                                                         :instanceId ""
                                                                         :lastLoginAt ""
                                                                         :localId ""
                                                                         :oobCode ""
                                                                         :password ""
                                                                         :phoneNumber ""
                                                                         :photoUrl ""
                                                                         :provider []
                                                                         :returnSecureToken false
                                                                         :upgradeToFederatedLogin false
                                                                         :validSince ""}})
require "http/client"

url = "{{baseUrl}}/setAccountInfo"
headers = HTTP::Headers{
  "content-type" => "application/json"
}
reqBody = "{\n  \"captchaChallenge\": \"\",\n  \"captchaResponse\": \"\",\n  \"createdAt\": \"\",\n  \"customAttributes\": \"\",\n  \"delegatedProjectNumber\": \"\",\n  \"deleteAttribute\": [],\n  \"deleteProvider\": [],\n  \"disableUser\": false,\n  \"displayName\": \"\",\n  \"email\": \"\",\n  \"emailVerified\": false,\n  \"idToken\": \"\",\n  \"instanceId\": \"\",\n  \"lastLoginAt\": \"\",\n  \"localId\": \"\",\n  \"oobCode\": \"\",\n  \"password\": \"\",\n  \"phoneNumber\": \"\",\n  \"photoUrl\": \"\",\n  \"provider\": [],\n  \"returnSecureToken\": false,\n  \"upgradeToFederatedLogin\": false,\n  \"validSince\": \"\"\n}"

response = HTTP::Client.post url, headers: headers, body: reqBody
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Post,
    RequestUri = new Uri("{{baseUrl}}/setAccountInfo"),
    Content = new StringContent("{\n  \"captchaChallenge\": \"\",\n  \"captchaResponse\": \"\",\n  \"createdAt\": \"\",\n  \"customAttributes\": \"\",\n  \"delegatedProjectNumber\": \"\",\n  \"deleteAttribute\": [],\n  \"deleteProvider\": [],\n  \"disableUser\": false,\n  \"displayName\": \"\",\n  \"email\": \"\",\n  \"emailVerified\": false,\n  \"idToken\": \"\",\n  \"instanceId\": \"\",\n  \"lastLoginAt\": \"\",\n  \"localId\": \"\",\n  \"oobCode\": \"\",\n  \"password\": \"\",\n  \"phoneNumber\": \"\",\n  \"photoUrl\": \"\",\n  \"provider\": [],\n  \"returnSecureToken\": false,\n  \"upgradeToFederatedLogin\": false,\n  \"validSince\": \"\"\n}")
    {
        Headers =
        {
            ContentType = new MediaTypeHeaderValue("application/json")
        }
    }
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/setAccountInfo");
var request = new RestRequest("", Method.Post);
request.AddHeader("content-type", "application/json");
request.AddParameter("application/json", "{\n  \"captchaChallenge\": \"\",\n  \"captchaResponse\": \"\",\n  \"createdAt\": \"\",\n  \"customAttributes\": \"\",\n  \"delegatedProjectNumber\": \"\",\n  \"deleteAttribute\": [],\n  \"deleteProvider\": [],\n  \"disableUser\": false,\n  \"displayName\": \"\",\n  \"email\": \"\",\n  \"emailVerified\": false,\n  \"idToken\": \"\",\n  \"instanceId\": \"\",\n  \"lastLoginAt\": \"\",\n  \"localId\": \"\",\n  \"oobCode\": \"\",\n  \"password\": \"\",\n  \"phoneNumber\": \"\",\n  \"photoUrl\": \"\",\n  \"provider\": [],\n  \"returnSecureToken\": false,\n  \"upgradeToFederatedLogin\": false,\n  \"validSince\": \"\"\n}", ParameterType.RequestBody);
var response = client.Execute(request);
package main

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

func main() {

	url := "{{baseUrl}}/setAccountInfo"

	payload := strings.NewReader("{\n  \"captchaChallenge\": \"\",\n  \"captchaResponse\": \"\",\n  \"createdAt\": \"\",\n  \"customAttributes\": \"\",\n  \"delegatedProjectNumber\": \"\",\n  \"deleteAttribute\": [],\n  \"deleteProvider\": [],\n  \"disableUser\": false,\n  \"displayName\": \"\",\n  \"email\": \"\",\n  \"emailVerified\": false,\n  \"idToken\": \"\",\n  \"instanceId\": \"\",\n  \"lastLoginAt\": \"\",\n  \"localId\": \"\",\n  \"oobCode\": \"\",\n  \"password\": \"\",\n  \"phoneNumber\": \"\",\n  \"photoUrl\": \"\",\n  \"provider\": [],\n  \"returnSecureToken\": false,\n  \"upgradeToFederatedLogin\": false,\n  \"validSince\": \"\"\n}")

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

	req.Header.Add("content-type", "application/json")

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

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

	fmt.Println(res)
	fmt.Println(string(body))

}
POST /baseUrl/setAccountInfo HTTP/1.1
Content-Type: application/json
Host: example.com
Content-Length: 518

{
  "captchaChallenge": "",
  "captchaResponse": "",
  "createdAt": "",
  "customAttributes": "",
  "delegatedProjectNumber": "",
  "deleteAttribute": [],
  "deleteProvider": [],
  "disableUser": false,
  "displayName": "",
  "email": "",
  "emailVerified": false,
  "idToken": "",
  "instanceId": "",
  "lastLoginAt": "",
  "localId": "",
  "oobCode": "",
  "password": "",
  "phoneNumber": "",
  "photoUrl": "",
  "provider": [],
  "returnSecureToken": false,
  "upgradeToFederatedLogin": false,
  "validSince": ""
}
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/setAccountInfo")
  .setHeader("content-type", "application/json")
  .setBody("{\n  \"captchaChallenge\": \"\",\n  \"captchaResponse\": \"\",\n  \"createdAt\": \"\",\n  \"customAttributes\": \"\",\n  \"delegatedProjectNumber\": \"\",\n  \"deleteAttribute\": [],\n  \"deleteProvider\": [],\n  \"disableUser\": false,\n  \"displayName\": \"\",\n  \"email\": \"\",\n  \"emailVerified\": false,\n  \"idToken\": \"\",\n  \"instanceId\": \"\",\n  \"lastLoginAt\": \"\",\n  \"localId\": \"\",\n  \"oobCode\": \"\",\n  \"password\": \"\",\n  \"phoneNumber\": \"\",\n  \"photoUrl\": \"\",\n  \"provider\": [],\n  \"returnSecureToken\": false,\n  \"upgradeToFederatedLogin\": false,\n  \"validSince\": \"\"\n}")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/setAccountInfo"))
    .header("content-type", "application/json")
    .method("POST", HttpRequest.BodyPublishers.ofString("{\n  \"captchaChallenge\": \"\",\n  \"captchaResponse\": \"\",\n  \"createdAt\": \"\",\n  \"customAttributes\": \"\",\n  \"delegatedProjectNumber\": \"\",\n  \"deleteAttribute\": [],\n  \"deleteProvider\": [],\n  \"disableUser\": false,\n  \"displayName\": \"\",\n  \"email\": \"\",\n  \"emailVerified\": false,\n  \"idToken\": \"\",\n  \"instanceId\": \"\",\n  \"lastLoginAt\": \"\",\n  \"localId\": \"\",\n  \"oobCode\": \"\",\n  \"password\": \"\",\n  \"phoneNumber\": \"\",\n  \"photoUrl\": \"\",\n  \"provider\": [],\n  \"returnSecureToken\": false,\n  \"upgradeToFederatedLogin\": false,\n  \"validSince\": \"\"\n}"))
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n  \"captchaChallenge\": \"\",\n  \"captchaResponse\": \"\",\n  \"createdAt\": \"\",\n  \"customAttributes\": \"\",\n  \"delegatedProjectNumber\": \"\",\n  \"deleteAttribute\": [],\n  \"deleteProvider\": [],\n  \"disableUser\": false,\n  \"displayName\": \"\",\n  \"email\": \"\",\n  \"emailVerified\": false,\n  \"idToken\": \"\",\n  \"instanceId\": \"\",\n  \"lastLoginAt\": \"\",\n  \"localId\": \"\",\n  \"oobCode\": \"\",\n  \"password\": \"\",\n  \"phoneNumber\": \"\",\n  \"photoUrl\": \"\",\n  \"provider\": [],\n  \"returnSecureToken\": false,\n  \"upgradeToFederatedLogin\": false,\n  \"validSince\": \"\"\n}");
Request request = new Request.Builder()
  .url("{{baseUrl}}/setAccountInfo")
  .post(body)
  .addHeader("content-type", "application/json")
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/setAccountInfo")
  .header("content-type", "application/json")
  .body("{\n  \"captchaChallenge\": \"\",\n  \"captchaResponse\": \"\",\n  \"createdAt\": \"\",\n  \"customAttributes\": \"\",\n  \"delegatedProjectNumber\": \"\",\n  \"deleteAttribute\": [],\n  \"deleteProvider\": [],\n  \"disableUser\": false,\n  \"displayName\": \"\",\n  \"email\": \"\",\n  \"emailVerified\": false,\n  \"idToken\": \"\",\n  \"instanceId\": \"\",\n  \"lastLoginAt\": \"\",\n  \"localId\": \"\",\n  \"oobCode\": \"\",\n  \"password\": \"\",\n  \"phoneNumber\": \"\",\n  \"photoUrl\": \"\",\n  \"provider\": [],\n  \"returnSecureToken\": false,\n  \"upgradeToFederatedLogin\": false,\n  \"validSince\": \"\"\n}")
  .asString();
const data = JSON.stringify({
  captchaChallenge: '',
  captchaResponse: '',
  createdAt: '',
  customAttributes: '',
  delegatedProjectNumber: '',
  deleteAttribute: [],
  deleteProvider: [],
  disableUser: false,
  displayName: '',
  email: '',
  emailVerified: false,
  idToken: '',
  instanceId: '',
  lastLoginAt: '',
  localId: '',
  oobCode: '',
  password: '',
  phoneNumber: '',
  photoUrl: '',
  provider: [],
  returnSecureToken: false,
  upgradeToFederatedLogin: false,
  validSince: ''
});

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('POST', '{{baseUrl}}/setAccountInfo');
xhr.setRequestHeader('content-type', 'application/json');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'POST',
  url: '{{baseUrl}}/setAccountInfo',
  headers: {'content-type': 'application/json'},
  data: {
    captchaChallenge: '',
    captchaResponse: '',
    createdAt: '',
    customAttributes: '',
    delegatedProjectNumber: '',
    deleteAttribute: [],
    deleteProvider: [],
    disableUser: false,
    displayName: '',
    email: '',
    emailVerified: false,
    idToken: '',
    instanceId: '',
    lastLoginAt: '',
    localId: '',
    oobCode: '',
    password: '',
    phoneNumber: '',
    photoUrl: '',
    provider: [],
    returnSecureToken: false,
    upgradeToFederatedLogin: false,
    validSince: ''
  }
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/setAccountInfo';
const options = {
  method: 'POST',
  headers: {'content-type': 'application/json'},
  body: '{"captchaChallenge":"","captchaResponse":"","createdAt":"","customAttributes":"","delegatedProjectNumber":"","deleteAttribute":[],"deleteProvider":[],"disableUser":false,"displayName":"","email":"","emailVerified":false,"idToken":"","instanceId":"","lastLoginAt":"","localId":"","oobCode":"","password":"","phoneNumber":"","photoUrl":"","provider":[],"returnSecureToken":false,"upgradeToFederatedLogin":false,"validSince":""}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/setAccountInfo',
  method: 'POST',
  headers: {
    'content-type': 'application/json'
  },
  processData: false,
  data: '{\n  "captchaChallenge": "",\n  "captchaResponse": "",\n  "createdAt": "",\n  "customAttributes": "",\n  "delegatedProjectNumber": "",\n  "deleteAttribute": [],\n  "deleteProvider": [],\n  "disableUser": false,\n  "displayName": "",\n  "email": "",\n  "emailVerified": false,\n  "idToken": "",\n  "instanceId": "",\n  "lastLoginAt": "",\n  "localId": "",\n  "oobCode": "",\n  "password": "",\n  "phoneNumber": "",\n  "photoUrl": "",\n  "provider": [],\n  "returnSecureToken": false,\n  "upgradeToFederatedLogin": false,\n  "validSince": ""\n}'
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val mediaType = MediaType.parse("application/json")
val body = RequestBody.create(mediaType, "{\n  \"captchaChallenge\": \"\",\n  \"captchaResponse\": \"\",\n  \"createdAt\": \"\",\n  \"customAttributes\": \"\",\n  \"delegatedProjectNumber\": \"\",\n  \"deleteAttribute\": [],\n  \"deleteProvider\": [],\n  \"disableUser\": false,\n  \"displayName\": \"\",\n  \"email\": \"\",\n  \"emailVerified\": false,\n  \"idToken\": \"\",\n  \"instanceId\": \"\",\n  \"lastLoginAt\": \"\",\n  \"localId\": \"\",\n  \"oobCode\": \"\",\n  \"password\": \"\",\n  \"phoneNumber\": \"\",\n  \"photoUrl\": \"\",\n  \"provider\": [],\n  \"returnSecureToken\": false,\n  \"upgradeToFederatedLogin\": false,\n  \"validSince\": \"\"\n}")
val request = Request.Builder()
  .url("{{baseUrl}}/setAccountInfo")
  .post(body)
  .addHeader("content-type", "application/json")
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'POST',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/setAccountInfo',
  headers: {
    'content-type': 'application/json'
  }
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.write(JSON.stringify({
  captchaChallenge: '',
  captchaResponse: '',
  createdAt: '',
  customAttributes: '',
  delegatedProjectNumber: '',
  deleteAttribute: [],
  deleteProvider: [],
  disableUser: false,
  displayName: '',
  email: '',
  emailVerified: false,
  idToken: '',
  instanceId: '',
  lastLoginAt: '',
  localId: '',
  oobCode: '',
  password: '',
  phoneNumber: '',
  photoUrl: '',
  provider: [],
  returnSecureToken: false,
  upgradeToFederatedLogin: false,
  validSince: ''
}));
req.end();
const request = require('request');

const options = {
  method: 'POST',
  url: '{{baseUrl}}/setAccountInfo',
  headers: {'content-type': 'application/json'},
  body: {
    captchaChallenge: '',
    captchaResponse: '',
    createdAt: '',
    customAttributes: '',
    delegatedProjectNumber: '',
    deleteAttribute: [],
    deleteProvider: [],
    disableUser: false,
    displayName: '',
    email: '',
    emailVerified: false,
    idToken: '',
    instanceId: '',
    lastLoginAt: '',
    localId: '',
    oobCode: '',
    password: '',
    phoneNumber: '',
    photoUrl: '',
    provider: [],
    returnSecureToken: false,
    upgradeToFederatedLogin: false,
    validSince: ''
  },
  json: true
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('POST', '{{baseUrl}}/setAccountInfo');

req.headers({
  'content-type': 'application/json'
});

req.type('json');
req.send({
  captchaChallenge: '',
  captchaResponse: '',
  createdAt: '',
  customAttributes: '',
  delegatedProjectNumber: '',
  deleteAttribute: [],
  deleteProvider: [],
  disableUser: false,
  displayName: '',
  email: '',
  emailVerified: false,
  idToken: '',
  instanceId: '',
  lastLoginAt: '',
  localId: '',
  oobCode: '',
  password: '',
  phoneNumber: '',
  photoUrl: '',
  provider: [],
  returnSecureToken: false,
  upgradeToFederatedLogin: false,
  validSince: ''
});

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'POST',
  url: '{{baseUrl}}/setAccountInfo',
  headers: {'content-type': 'application/json'},
  data: {
    captchaChallenge: '',
    captchaResponse: '',
    createdAt: '',
    customAttributes: '',
    delegatedProjectNumber: '',
    deleteAttribute: [],
    deleteProvider: [],
    disableUser: false,
    displayName: '',
    email: '',
    emailVerified: false,
    idToken: '',
    instanceId: '',
    lastLoginAt: '',
    localId: '',
    oobCode: '',
    password: '',
    phoneNumber: '',
    photoUrl: '',
    provider: [],
    returnSecureToken: false,
    upgradeToFederatedLogin: false,
    validSince: ''
  }
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/setAccountInfo';
const options = {
  method: 'POST',
  headers: {'content-type': 'application/json'},
  body: '{"captchaChallenge":"","captchaResponse":"","createdAt":"","customAttributes":"","delegatedProjectNumber":"","deleteAttribute":[],"deleteProvider":[],"disableUser":false,"displayName":"","email":"","emailVerified":false,"idToken":"","instanceId":"","lastLoginAt":"","localId":"","oobCode":"","password":"","phoneNumber":"","photoUrl":"","provider":[],"returnSecureToken":false,"upgradeToFederatedLogin":false,"validSince":""}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSDictionary *headers = @{ @"content-type": @"application/json" };
NSDictionary *parameters = @{ @"captchaChallenge": @"",
                              @"captchaResponse": @"",
                              @"createdAt": @"",
                              @"customAttributes": @"",
                              @"delegatedProjectNumber": @"",
                              @"deleteAttribute": @[  ],
                              @"deleteProvider": @[  ],
                              @"disableUser": @NO,
                              @"displayName": @"",
                              @"email": @"",
                              @"emailVerified": @NO,
                              @"idToken": @"",
                              @"instanceId": @"",
                              @"lastLoginAt": @"",
                              @"localId": @"",
                              @"oobCode": @"",
                              @"password": @"",
                              @"phoneNumber": @"",
                              @"photoUrl": @"",
                              @"provider": @[  ],
                              @"returnSecureToken": @NO,
                              @"upgradeToFederatedLogin": @NO,
                              @"validSince": @"" };

NSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/setAccountInfo"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
[request setAllHTTPHeaderFields:headers];
[request setHTTPBody:postData];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/setAccountInfo" in
let headers = Header.add (Header.init ()) "content-type" "application/json" in
let body = Cohttp_lwt_body.of_string "{\n  \"captchaChallenge\": \"\",\n  \"captchaResponse\": \"\",\n  \"createdAt\": \"\",\n  \"customAttributes\": \"\",\n  \"delegatedProjectNumber\": \"\",\n  \"deleteAttribute\": [],\n  \"deleteProvider\": [],\n  \"disableUser\": false,\n  \"displayName\": \"\",\n  \"email\": \"\",\n  \"emailVerified\": false,\n  \"idToken\": \"\",\n  \"instanceId\": \"\",\n  \"lastLoginAt\": \"\",\n  \"localId\": \"\",\n  \"oobCode\": \"\",\n  \"password\": \"\",\n  \"phoneNumber\": \"\",\n  \"photoUrl\": \"\",\n  \"provider\": [],\n  \"returnSecureToken\": false,\n  \"upgradeToFederatedLogin\": false,\n  \"validSince\": \"\"\n}" in

Client.call ~headers ~body `POST uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/setAccountInfo",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
  CURLOPT_POSTFIELDS => json_encode([
    'captchaChallenge' => '',
    'captchaResponse' => '',
    'createdAt' => '',
    'customAttributes' => '',
    'delegatedProjectNumber' => '',
    'deleteAttribute' => [
        
    ],
    'deleteProvider' => [
        
    ],
    'disableUser' => null,
    'displayName' => '',
    'email' => '',
    'emailVerified' => null,
    'idToken' => '',
    'instanceId' => '',
    'lastLoginAt' => '',
    'localId' => '',
    'oobCode' => '',
    'password' => '',
    'phoneNumber' => '',
    'photoUrl' => '',
    'provider' => [
        
    ],
    'returnSecureToken' => null,
    'upgradeToFederatedLogin' => null,
    'validSince' => ''
  ]),
  CURLOPT_HTTPHEADER => [
    "content-type: application/json"
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('POST', '{{baseUrl}}/setAccountInfo', [
  'body' => '{
  "captchaChallenge": "",
  "captchaResponse": "",
  "createdAt": "",
  "customAttributes": "",
  "delegatedProjectNumber": "",
  "deleteAttribute": [],
  "deleteProvider": [],
  "disableUser": false,
  "displayName": "",
  "email": "",
  "emailVerified": false,
  "idToken": "",
  "instanceId": "",
  "lastLoginAt": "",
  "localId": "",
  "oobCode": "",
  "password": "",
  "phoneNumber": "",
  "photoUrl": "",
  "provider": [],
  "returnSecureToken": false,
  "upgradeToFederatedLogin": false,
  "validSince": ""
}',
  'headers' => [
    'content-type' => 'application/json',
  ],
]);

echo $response->getBody();
setUrl('{{baseUrl}}/setAccountInfo');
$request->setMethod(HTTP_METH_POST);

$request->setHeaders([
  'content-type' => 'application/json'
]);

$request->setContentType('application/json');
$request->setBody(json_encode([
  'captchaChallenge' => '',
  'captchaResponse' => '',
  'createdAt' => '',
  'customAttributes' => '',
  'delegatedProjectNumber' => '',
  'deleteAttribute' => [
    
  ],
  'deleteProvider' => [
    
  ],
  'disableUser' => null,
  'displayName' => '',
  'email' => '',
  'emailVerified' => null,
  'idToken' => '',
  'instanceId' => '',
  'lastLoginAt' => '',
  'localId' => '',
  'oobCode' => '',
  'password' => '',
  'phoneNumber' => '',
  'photoUrl' => '',
  'provider' => [
    
  ],
  'returnSecureToken' => null,
  'upgradeToFederatedLogin' => null,
  'validSince' => ''
]));

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
append(json_encode([
  'captchaChallenge' => '',
  'captchaResponse' => '',
  'createdAt' => '',
  'customAttributes' => '',
  'delegatedProjectNumber' => '',
  'deleteAttribute' => [
    
  ],
  'deleteProvider' => [
    
  ],
  'disableUser' => null,
  'displayName' => '',
  'email' => '',
  'emailVerified' => null,
  'idToken' => '',
  'instanceId' => '',
  'lastLoginAt' => '',
  'localId' => '',
  'oobCode' => '',
  'password' => '',
  'phoneNumber' => '',
  'photoUrl' => '',
  'provider' => [
    
  ],
  'returnSecureToken' => null,
  'upgradeToFederatedLogin' => null,
  'validSince' => ''
]));
$request->setRequestUrl('{{baseUrl}}/setAccountInfo');
$request->setRequestMethod('POST');
$request->setBody($body);

$request->setHeaders([
  'content-type' => 'application/json'
]);

$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-WebRequest -Uri '{{baseUrl}}/setAccountInfo' -Method POST -Headers $headers -ContentType 'application/json' -Body '{
  "captchaChallenge": "",
  "captchaResponse": "",
  "createdAt": "",
  "customAttributes": "",
  "delegatedProjectNumber": "",
  "deleteAttribute": [],
  "deleteProvider": [],
  "disableUser": false,
  "displayName": "",
  "email": "",
  "emailVerified": false,
  "idToken": "",
  "instanceId": "",
  "lastLoginAt": "",
  "localId": "",
  "oobCode": "",
  "password": "",
  "phoneNumber": "",
  "photoUrl": "",
  "provider": [],
  "returnSecureToken": false,
  "upgradeToFederatedLogin": false,
  "validSince": ""
}'
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-RestMethod -Uri '{{baseUrl}}/setAccountInfo' -Method POST -Headers $headers -ContentType 'application/json' -Body '{
  "captchaChallenge": "",
  "captchaResponse": "",
  "createdAt": "",
  "customAttributes": "",
  "delegatedProjectNumber": "",
  "deleteAttribute": [],
  "deleteProvider": [],
  "disableUser": false,
  "displayName": "",
  "email": "",
  "emailVerified": false,
  "idToken": "",
  "instanceId": "",
  "lastLoginAt": "",
  "localId": "",
  "oobCode": "",
  "password": "",
  "phoneNumber": "",
  "photoUrl": "",
  "provider": [],
  "returnSecureToken": false,
  "upgradeToFederatedLogin": false,
  "validSince": ""
}'
import http.client

conn = http.client.HTTPSConnection("example.com")

payload = "{\n  \"captchaChallenge\": \"\",\n  \"captchaResponse\": \"\",\n  \"createdAt\": \"\",\n  \"customAttributes\": \"\",\n  \"delegatedProjectNumber\": \"\",\n  \"deleteAttribute\": [],\n  \"deleteProvider\": [],\n  \"disableUser\": false,\n  \"displayName\": \"\",\n  \"email\": \"\",\n  \"emailVerified\": false,\n  \"idToken\": \"\",\n  \"instanceId\": \"\",\n  \"lastLoginAt\": \"\",\n  \"localId\": \"\",\n  \"oobCode\": \"\",\n  \"password\": \"\",\n  \"phoneNumber\": \"\",\n  \"photoUrl\": \"\",\n  \"provider\": [],\n  \"returnSecureToken\": false,\n  \"upgradeToFederatedLogin\": false,\n  \"validSince\": \"\"\n}"

headers = { 'content-type': "application/json" }

conn.request("POST", "/baseUrl/setAccountInfo", payload, headers)

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/setAccountInfo"

payload = {
    "captchaChallenge": "",
    "captchaResponse": "",
    "createdAt": "",
    "customAttributes": "",
    "delegatedProjectNumber": "",
    "deleteAttribute": [],
    "deleteProvider": [],
    "disableUser": False,
    "displayName": "",
    "email": "",
    "emailVerified": False,
    "idToken": "",
    "instanceId": "",
    "lastLoginAt": "",
    "localId": "",
    "oobCode": "",
    "password": "",
    "phoneNumber": "",
    "photoUrl": "",
    "provider": [],
    "returnSecureToken": False,
    "upgradeToFederatedLogin": False,
    "validSince": ""
}
headers = {"content-type": "application/json"}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
library(httr)

url <- "{{baseUrl}}/setAccountInfo"

payload <- "{\n  \"captchaChallenge\": \"\",\n  \"captchaResponse\": \"\",\n  \"createdAt\": \"\",\n  \"customAttributes\": \"\",\n  \"delegatedProjectNumber\": \"\",\n  \"deleteAttribute\": [],\n  \"deleteProvider\": [],\n  \"disableUser\": false,\n  \"displayName\": \"\",\n  \"email\": \"\",\n  \"emailVerified\": false,\n  \"idToken\": \"\",\n  \"instanceId\": \"\",\n  \"lastLoginAt\": \"\",\n  \"localId\": \"\",\n  \"oobCode\": \"\",\n  \"password\": \"\",\n  \"phoneNumber\": \"\",\n  \"photoUrl\": \"\",\n  \"provider\": [],\n  \"returnSecureToken\": false,\n  \"upgradeToFederatedLogin\": false,\n  \"validSince\": \"\"\n}"

encode <- "json"

response <- VERB("POST", url, body = payload, content_type("application/json"), encode = encode)

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/setAccountInfo")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["content-type"] = 'application/json'
request.body = "{\n  \"captchaChallenge\": \"\",\n  \"captchaResponse\": \"\",\n  \"createdAt\": \"\",\n  \"customAttributes\": \"\",\n  \"delegatedProjectNumber\": \"\",\n  \"deleteAttribute\": [],\n  \"deleteProvider\": [],\n  \"disableUser\": false,\n  \"displayName\": \"\",\n  \"email\": \"\",\n  \"emailVerified\": false,\n  \"idToken\": \"\",\n  \"instanceId\": \"\",\n  \"lastLoginAt\": \"\",\n  \"localId\": \"\",\n  \"oobCode\": \"\",\n  \"password\": \"\",\n  \"phoneNumber\": \"\",\n  \"photoUrl\": \"\",\n  \"provider\": [],\n  \"returnSecureToken\": false,\n  \"upgradeToFederatedLogin\": false,\n  \"validSince\": \"\"\n}"

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
  headers: {'Content-Type' => 'application/json'}
)

response = conn.post('/baseUrl/setAccountInfo') do |req|
  req.body = "{\n  \"captchaChallenge\": \"\",\n  \"captchaResponse\": \"\",\n  \"createdAt\": \"\",\n  \"customAttributes\": \"\",\n  \"delegatedProjectNumber\": \"\",\n  \"deleteAttribute\": [],\n  \"deleteProvider\": [],\n  \"disableUser\": false,\n  \"displayName\": \"\",\n  \"email\": \"\",\n  \"emailVerified\": false,\n  \"idToken\": \"\",\n  \"instanceId\": \"\",\n  \"lastLoginAt\": \"\",\n  \"localId\": \"\",\n  \"oobCode\": \"\",\n  \"password\": \"\",\n  \"phoneNumber\": \"\",\n  \"photoUrl\": \"\",\n  \"provider\": [],\n  \"returnSecureToken\": false,\n  \"upgradeToFederatedLogin\": false,\n  \"validSince\": \"\"\n}"
end

puts response.status
puts response.body
use serde_json::json;
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/setAccountInfo";

    let payload = json!({
        "captchaChallenge": "",
        "captchaResponse": "",
        "createdAt": "",
        "customAttributes": "",
        "delegatedProjectNumber": "",
        "deleteAttribute": (),
        "deleteProvider": (),
        "disableUser": false,
        "displayName": "",
        "email": "",
        "emailVerified": false,
        "idToken": "",
        "instanceId": "",
        "lastLoginAt": "",
        "localId": "",
        "oobCode": "",
        "password": "",
        "phoneNumber": "",
        "photoUrl": "",
        "provider": (),
        "returnSecureToken": false,
        "upgradeToFederatedLogin": false,
        "validSince": ""
    });

    let mut headers = reqwest::header::HeaderMap::new();
    headers.insert("content-type", "application/json".parse().unwrap());

    let client = reqwest::Client::new();
    let response = client.post(url)
        .headers(headers)
        .json(&payload)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request POST \
  --url {{baseUrl}}/setAccountInfo \
  --header 'content-type: application/json' \
  --data '{
  "captchaChallenge": "",
  "captchaResponse": "",
  "createdAt": "",
  "customAttributes": "",
  "delegatedProjectNumber": "",
  "deleteAttribute": [],
  "deleteProvider": [],
  "disableUser": false,
  "displayName": "",
  "email": "",
  "emailVerified": false,
  "idToken": "",
  "instanceId": "",
  "lastLoginAt": "",
  "localId": "",
  "oobCode": "",
  "password": "",
  "phoneNumber": "",
  "photoUrl": "",
  "provider": [],
  "returnSecureToken": false,
  "upgradeToFederatedLogin": false,
  "validSince": ""
}'
echo '{
  "captchaChallenge": "",
  "captchaResponse": "",
  "createdAt": "",
  "customAttributes": "",
  "delegatedProjectNumber": "",
  "deleteAttribute": [],
  "deleteProvider": [],
  "disableUser": false,
  "displayName": "",
  "email": "",
  "emailVerified": false,
  "idToken": "",
  "instanceId": "",
  "lastLoginAt": "",
  "localId": "",
  "oobCode": "",
  "password": "",
  "phoneNumber": "",
  "photoUrl": "",
  "provider": [],
  "returnSecureToken": false,
  "upgradeToFederatedLogin": false,
  "validSince": ""
}' |  \
  http POST {{baseUrl}}/setAccountInfo \
  content-type:application/json
wget --quiet \
  --method POST \
  --header 'content-type: application/json' \
  --body-data '{\n  "captchaChallenge": "",\n  "captchaResponse": "",\n  "createdAt": "",\n  "customAttributes": "",\n  "delegatedProjectNumber": "",\n  "deleteAttribute": [],\n  "deleteProvider": [],\n  "disableUser": false,\n  "displayName": "",\n  "email": "",\n  "emailVerified": false,\n  "idToken": "",\n  "instanceId": "",\n  "lastLoginAt": "",\n  "localId": "",\n  "oobCode": "",\n  "password": "",\n  "phoneNumber": "",\n  "photoUrl": "",\n  "provider": [],\n  "returnSecureToken": false,\n  "upgradeToFederatedLogin": false,\n  "validSince": ""\n}' \
  --output-document \
  - {{baseUrl}}/setAccountInfo
import Foundation

let headers = ["content-type": "application/json"]
let parameters = [
  "captchaChallenge": "",
  "captchaResponse": "",
  "createdAt": "",
  "customAttributes": "",
  "delegatedProjectNumber": "",
  "deleteAttribute": [],
  "deleteProvider": [],
  "disableUser": false,
  "displayName": "",
  "email": "",
  "emailVerified": false,
  "idToken": "",
  "instanceId": "",
  "lastLoginAt": "",
  "localId": "",
  "oobCode": "",
  "password": "",
  "phoneNumber": "",
  "photoUrl": "",
  "provider": [],
  "returnSecureToken": false,
  "upgradeToFederatedLogin": false,
  "validSince": ""
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/setAccountInfo")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
POST identitytoolkit.relyingparty.setProjectConfig
{{baseUrl}}/setProjectConfig
BODY json

{
  "allowPasswordUser": false,
  "apiKey": "",
  "authorizedDomains": [],
  "changeEmailTemplate": {
    "body": "",
    "format": "",
    "from": "",
    "fromDisplayName": "",
    "replyTo": "",
    "subject": ""
  },
  "delegatedProjectNumber": "",
  "enableAnonymousUser": false,
  "idpConfig": [
    {
      "clientId": "",
      "enabled": false,
      "experimentPercent": 0,
      "provider": "",
      "secret": "",
      "whitelistedAudiences": []
    }
  ],
  "legacyResetPasswordTemplate": {},
  "resetPasswordTemplate": {},
  "useEmailSending": false,
  "verifyEmailTemplate": {}
}
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/setProjectConfig");

struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "content-type: application/json");
curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);

curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, "{\n  \"allowPasswordUser\": false,\n  \"apiKey\": \"\",\n  \"authorizedDomains\": [],\n  \"changeEmailTemplate\": {\n    \"body\": \"\",\n    \"format\": \"\",\n    \"from\": \"\",\n    \"fromDisplayName\": \"\",\n    \"replyTo\": \"\",\n    \"subject\": \"\"\n  },\n  \"delegatedProjectNumber\": \"\",\n  \"enableAnonymousUser\": false,\n  \"idpConfig\": [\n    {\n      \"clientId\": \"\",\n      \"enabled\": false,\n      \"experimentPercent\": 0,\n      \"provider\": \"\",\n      \"secret\": \"\",\n      \"whitelistedAudiences\": []\n    }\n  ],\n  \"legacyResetPasswordTemplate\": {},\n  \"resetPasswordTemplate\": {},\n  \"useEmailSending\": false,\n  \"verifyEmailTemplate\": {}\n}");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/post "{{baseUrl}}/setProjectConfig" {:content-type :json
                                                             :form-params {:allowPasswordUser false
                                                                           :apiKey ""
                                                                           :authorizedDomains []
                                                                           :changeEmailTemplate {:body ""
                                                                                                 :format ""
                                                                                                 :from ""
                                                                                                 :fromDisplayName ""
                                                                                                 :replyTo ""
                                                                                                 :subject ""}
                                                                           :delegatedProjectNumber ""
                                                                           :enableAnonymousUser false
                                                                           :idpConfig [{:clientId ""
                                                                                        :enabled false
                                                                                        :experimentPercent 0
                                                                                        :provider ""
                                                                                        :secret ""
                                                                                        :whitelistedAudiences []}]
                                                                           :legacyResetPasswordTemplate {}
                                                                           :resetPasswordTemplate {}
                                                                           :useEmailSending false
                                                                           :verifyEmailTemplate {}}})
require "http/client"

url = "{{baseUrl}}/setProjectConfig"
headers = HTTP::Headers{
  "content-type" => "application/json"
}
reqBody = "{\n  \"allowPasswordUser\": false,\n  \"apiKey\": \"\",\n  \"authorizedDomains\": [],\n  \"changeEmailTemplate\": {\n    \"body\": \"\",\n    \"format\": \"\",\n    \"from\": \"\",\n    \"fromDisplayName\": \"\",\n    \"replyTo\": \"\",\n    \"subject\": \"\"\n  },\n  \"delegatedProjectNumber\": \"\",\n  \"enableAnonymousUser\": false,\n  \"idpConfig\": [\n    {\n      \"clientId\": \"\",\n      \"enabled\": false,\n      \"experimentPercent\": 0,\n      \"provider\": \"\",\n      \"secret\": \"\",\n      \"whitelistedAudiences\": []\n    }\n  ],\n  \"legacyResetPasswordTemplate\": {},\n  \"resetPasswordTemplate\": {},\n  \"useEmailSending\": false,\n  \"verifyEmailTemplate\": {}\n}"

response = HTTP::Client.post url, headers: headers, body: reqBody
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Post,
    RequestUri = new Uri("{{baseUrl}}/setProjectConfig"),
    Content = new StringContent("{\n  \"allowPasswordUser\": false,\n  \"apiKey\": \"\",\n  \"authorizedDomains\": [],\n  \"changeEmailTemplate\": {\n    \"body\": \"\",\n    \"format\": \"\",\n    \"from\": \"\",\n    \"fromDisplayName\": \"\",\n    \"replyTo\": \"\",\n    \"subject\": \"\"\n  },\n  \"delegatedProjectNumber\": \"\",\n  \"enableAnonymousUser\": false,\n  \"idpConfig\": [\n    {\n      \"clientId\": \"\",\n      \"enabled\": false,\n      \"experimentPercent\": 0,\n      \"provider\": \"\",\n      \"secret\": \"\",\n      \"whitelistedAudiences\": []\n    }\n  ],\n  \"legacyResetPasswordTemplate\": {},\n  \"resetPasswordTemplate\": {},\n  \"useEmailSending\": false,\n  \"verifyEmailTemplate\": {}\n}")
    {
        Headers =
        {
            ContentType = new MediaTypeHeaderValue("application/json")
        }
    }
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/setProjectConfig");
var request = new RestRequest("", Method.Post);
request.AddHeader("content-type", "application/json");
request.AddParameter("application/json", "{\n  \"allowPasswordUser\": false,\n  \"apiKey\": \"\",\n  \"authorizedDomains\": [],\n  \"changeEmailTemplate\": {\n    \"body\": \"\",\n    \"format\": \"\",\n    \"from\": \"\",\n    \"fromDisplayName\": \"\",\n    \"replyTo\": \"\",\n    \"subject\": \"\"\n  },\n  \"delegatedProjectNumber\": \"\",\n  \"enableAnonymousUser\": false,\n  \"idpConfig\": [\n    {\n      \"clientId\": \"\",\n      \"enabled\": false,\n      \"experimentPercent\": 0,\n      \"provider\": \"\",\n      \"secret\": \"\",\n      \"whitelistedAudiences\": []\n    }\n  ],\n  \"legacyResetPasswordTemplate\": {},\n  \"resetPasswordTemplate\": {},\n  \"useEmailSending\": false,\n  \"verifyEmailTemplate\": {}\n}", ParameterType.RequestBody);
var response = client.Execute(request);
package main

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

func main() {

	url := "{{baseUrl}}/setProjectConfig"

	payload := strings.NewReader("{\n  \"allowPasswordUser\": false,\n  \"apiKey\": \"\",\n  \"authorizedDomains\": [],\n  \"changeEmailTemplate\": {\n    \"body\": \"\",\n    \"format\": \"\",\n    \"from\": \"\",\n    \"fromDisplayName\": \"\",\n    \"replyTo\": \"\",\n    \"subject\": \"\"\n  },\n  \"delegatedProjectNumber\": \"\",\n  \"enableAnonymousUser\": false,\n  \"idpConfig\": [\n    {\n      \"clientId\": \"\",\n      \"enabled\": false,\n      \"experimentPercent\": 0,\n      \"provider\": \"\",\n      \"secret\": \"\",\n      \"whitelistedAudiences\": []\n    }\n  ],\n  \"legacyResetPasswordTemplate\": {},\n  \"resetPasswordTemplate\": {},\n  \"useEmailSending\": false,\n  \"verifyEmailTemplate\": {}\n}")

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

	req.Header.Add("content-type", "application/json")

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

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

	fmt.Println(res)
	fmt.Println(string(body))

}
POST /baseUrl/setProjectConfig HTTP/1.1
Content-Type: application/json
Host: example.com
Content-Length: 595

{
  "allowPasswordUser": false,
  "apiKey": "",
  "authorizedDomains": [],
  "changeEmailTemplate": {
    "body": "",
    "format": "",
    "from": "",
    "fromDisplayName": "",
    "replyTo": "",
    "subject": ""
  },
  "delegatedProjectNumber": "",
  "enableAnonymousUser": false,
  "idpConfig": [
    {
      "clientId": "",
      "enabled": false,
      "experimentPercent": 0,
      "provider": "",
      "secret": "",
      "whitelistedAudiences": []
    }
  ],
  "legacyResetPasswordTemplate": {},
  "resetPasswordTemplate": {},
  "useEmailSending": false,
  "verifyEmailTemplate": {}
}
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/setProjectConfig")
  .setHeader("content-type", "application/json")
  .setBody("{\n  \"allowPasswordUser\": false,\n  \"apiKey\": \"\",\n  \"authorizedDomains\": [],\n  \"changeEmailTemplate\": {\n    \"body\": \"\",\n    \"format\": \"\",\n    \"from\": \"\",\n    \"fromDisplayName\": \"\",\n    \"replyTo\": \"\",\n    \"subject\": \"\"\n  },\n  \"delegatedProjectNumber\": \"\",\n  \"enableAnonymousUser\": false,\n  \"idpConfig\": [\n    {\n      \"clientId\": \"\",\n      \"enabled\": false,\n      \"experimentPercent\": 0,\n      \"provider\": \"\",\n      \"secret\": \"\",\n      \"whitelistedAudiences\": []\n    }\n  ],\n  \"legacyResetPasswordTemplate\": {},\n  \"resetPasswordTemplate\": {},\n  \"useEmailSending\": false,\n  \"verifyEmailTemplate\": {}\n}")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/setProjectConfig"))
    .header("content-type", "application/json")
    .method("POST", HttpRequest.BodyPublishers.ofString("{\n  \"allowPasswordUser\": false,\n  \"apiKey\": \"\",\n  \"authorizedDomains\": [],\n  \"changeEmailTemplate\": {\n    \"body\": \"\",\n    \"format\": \"\",\n    \"from\": \"\",\n    \"fromDisplayName\": \"\",\n    \"replyTo\": \"\",\n    \"subject\": \"\"\n  },\n  \"delegatedProjectNumber\": \"\",\n  \"enableAnonymousUser\": false,\n  \"idpConfig\": [\n    {\n      \"clientId\": \"\",\n      \"enabled\": false,\n      \"experimentPercent\": 0,\n      \"provider\": \"\",\n      \"secret\": \"\",\n      \"whitelistedAudiences\": []\n    }\n  ],\n  \"legacyResetPasswordTemplate\": {},\n  \"resetPasswordTemplate\": {},\n  \"useEmailSending\": false,\n  \"verifyEmailTemplate\": {}\n}"))
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n  \"allowPasswordUser\": false,\n  \"apiKey\": \"\",\n  \"authorizedDomains\": [],\n  \"changeEmailTemplate\": {\n    \"body\": \"\",\n    \"format\": \"\",\n    \"from\": \"\",\n    \"fromDisplayName\": \"\",\n    \"replyTo\": \"\",\n    \"subject\": \"\"\n  },\n  \"delegatedProjectNumber\": \"\",\n  \"enableAnonymousUser\": false,\n  \"idpConfig\": [\n    {\n      \"clientId\": \"\",\n      \"enabled\": false,\n      \"experimentPercent\": 0,\n      \"provider\": \"\",\n      \"secret\": \"\",\n      \"whitelistedAudiences\": []\n    }\n  ],\n  \"legacyResetPasswordTemplate\": {},\n  \"resetPasswordTemplate\": {},\n  \"useEmailSending\": false,\n  \"verifyEmailTemplate\": {}\n}");
Request request = new Request.Builder()
  .url("{{baseUrl}}/setProjectConfig")
  .post(body)
  .addHeader("content-type", "application/json")
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/setProjectConfig")
  .header("content-type", "application/json")
  .body("{\n  \"allowPasswordUser\": false,\n  \"apiKey\": \"\",\n  \"authorizedDomains\": [],\n  \"changeEmailTemplate\": {\n    \"body\": \"\",\n    \"format\": \"\",\n    \"from\": \"\",\n    \"fromDisplayName\": \"\",\n    \"replyTo\": \"\",\n    \"subject\": \"\"\n  },\n  \"delegatedProjectNumber\": \"\",\n  \"enableAnonymousUser\": false,\n  \"idpConfig\": [\n    {\n      \"clientId\": \"\",\n      \"enabled\": false,\n      \"experimentPercent\": 0,\n      \"provider\": \"\",\n      \"secret\": \"\",\n      \"whitelistedAudiences\": []\n    }\n  ],\n  \"legacyResetPasswordTemplate\": {},\n  \"resetPasswordTemplate\": {},\n  \"useEmailSending\": false,\n  \"verifyEmailTemplate\": {}\n}")
  .asString();
const data = JSON.stringify({
  allowPasswordUser: false,
  apiKey: '',
  authorizedDomains: [],
  changeEmailTemplate: {
    body: '',
    format: '',
    from: '',
    fromDisplayName: '',
    replyTo: '',
    subject: ''
  },
  delegatedProjectNumber: '',
  enableAnonymousUser: false,
  idpConfig: [
    {
      clientId: '',
      enabled: false,
      experimentPercent: 0,
      provider: '',
      secret: '',
      whitelistedAudiences: []
    }
  ],
  legacyResetPasswordTemplate: {},
  resetPasswordTemplate: {},
  useEmailSending: false,
  verifyEmailTemplate: {}
});

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('POST', '{{baseUrl}}/setProjectConfig');
xhr.setRequestHeader('content-type', 'application/json');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'POST',
  url: '{{baseUrl}}/setProjectConfig',
  headers: {'content-type': 'application/json'},
  data: {
    allowPasswordUser: false,
    apiKey: '',
    authorizedDomains: [],
    changeEmailTemplate: {body: '', format: '', from: '', fromDisplayName: '', replyTo: '', subject: ''},
    delegatedProjectNumber: '',
    enableAnonymousUser: false,
    idpConfig: [
      {
        clientId: '',
        enabled: false,
        experimentPercent: 0,
        provider: '',
        secret: '',
        whitelistedAudiences: []
      }
    ],
    legacyResetPasswordTemplate: {},
    resetPasswordTemplate: {},
    useEmailSending: false,
    verifyEmailTemplate: {}
  }
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/setProjectConfig';
const options = {
  method: 'POST',
  headers: {'content-type': 'application/json'},
  body: '{"allowPasswordUser":false,"apiKey":"","authorizedDomains":[],"changeEmailTemplate":{"body":"","format":"","from":"","fromDisplayName":"","replyTo":"","subject":""},"delegatedProjectNumber":"","enableAnonymousUser":false,"idpConfig":[{"clientId":"","enabled":false,"experimentPercent":0,"provider":"","secret":"","whitelistedAudiences":[]}],"legacyResetPasswordTemplate":{},"resetPasswordTemplate":{},"useEmailSending":false,"verifyEmailTemplate":{}}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/setProjectConfig',
  method: 'POST',
  headers: {
    'content-type': 'application/json'
  },
  processData: false,
  data: '{\n  "allowPasswordUser": false,\n  "apiKey": "",\n  "authorizedDomains": [],\n  "changeEmailTemplate": {\n    "body": "",\n    "format": "",\n    "from": "",\n    "fromDisplayName": "",\n    "replyTo": "",\n    "subject": ""\n  },\n  "delegatedProjectNumber": "",\n  "enableAnonymousUser": false,\n  "idpConfig": [\n    {\n      "clientId": "",\n      "enabled": false,\n      "experimentPercent": 0,\n      "provider": "",\n      "secret": "",\n      "whitelistedAudiences": []\n    }\n  ],\n  "legacyResetPasswordTemplate": {},\n  "resetPasswordTemplate": {},\n  "useEmailSending": false,\n  "verifyEmailTemplate": {}\n}'
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val mediaType = MediaType.parse("application/json")
val body = RequestBody.create(mediaType, "{\n  \"allowPasswordUser\": false,\n  \"apiKey\": \"\",\n  \"authorizedDomains\": [],\n  \"changeEmailTemplate\": {\n    \"body\": \"\",\n    \"format\": \"\",\n    \"from\": \"\",\n    \"fromDisplayName\": \"\",\n    \"replyTo\": \"\",\n    \"subject\": \"\"\n  },\n  \"delegatedProjectNumber\": \"\",\n  \"enableAnonymousUser\": false,\n  \"idpConfig\": [\n    {\n      \"clientId\": \"\",\n      \"enabled\": false,\n      \"experimentPercent\": 0,\n      \"provider\": \"\",\n      \"secret\": \"\",\n      \"whitelistedAudiences\": []\n    }\n  ],\n  \"legacyResetPasswordTemplate\": {},\n  \"resetPasswordTemplate\": {},\n  \"useEmailSending\": false,\n  \"verifyEmailTemplate\": {}\n}")
val request = Request.Builder()
  .url("{{baseUrl}}/setProjectConfig")
  .post(body)
  .addHeader("content-type", "application/json")
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'POST',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/setProjectConfig',
  headers: {
    'content-type': 'application/json'
  }
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.write(JSON.stringify({
  allowPasswordUser: false,
  apiKey: '',
  authorizedDomains: [],
  changeEmailTemplate: {body: '', format: '', from: '', fromDisplayName: '', replyTo: '', subject: ''},
  delegatedProjectNumber: '',
  enableAnonymousUser: false,
  idpConfig: [
    {
      clientId: '',
      enabled: false,
      experimentPercent: 0,
      provider: '',
      secret: '',
      whitelistedAudiences: []
    }
  ],
  legacyResetPasswordTemplate: {},
  resetPasswordTemplate: {},
  useEmailSending: false,
  verifyEmailTemplate: {}
}));
req.end();
const request = require('request');

const options = {
  method: 'POST',
  url: '{{baseUrl}}/setProjectConfig',
  headers: {'content-type': 'application/json'},
  body: {
    allowPasswordUser: false,
    apiKey: '',
    authorizedDomains: [],
    changeEmailTemplate: {body: '', format: '', from: '', fromDisplayName: '', replyTo: '', subject: ''},
    delegatedProjectNumber: '',
    enableAnonymousUser: false,
    idpConfig: [
      {
        clientId: '',
        enabled: false,
        experimentPercent: 0,
        provider: '',
        secret: '',
        whitelistedAudiences: []
      }
    ],
    legacyResetPasswordTemplate: {},
    resetPasswordTemplate: {},
    useEmailSending: false,
    verifyEmailTemplate: {}
  },
  json: true
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('POST', '{{baseUrl}}/setProjectConfig');

req.headers({
  'content-type': 'application/json'
});

req.type('json');
req.send({
  allowPasswordUser: false,
  apiKey: '',
  authorizedDomains: [],
  changeEmailTemplate: {
    body: '',
    format: '',
    from: '',
    fromDisplayName: '',
    replyTo: '',
    subject: ''
  },
  delegatedProjectNumber: '',
  enableAnonymousUser: false,
  idpConfig: [
    {
      clientId: '',
      enabled: false,
      experimentPercent: 0,
      provider: '',
      secret: '',
      whitelistedAudiences: []
    }
  ],
  legacyResetPasswordTemplate: {},
  resetPasswordTemplate: {},
  useEmailSending: false,
  verifyEmailTemplate: {}
});

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'POST',
  url: '{{baseUrl}}/setProjectConfig',
  headers: {'content-type': 'application/json'},
  data: {
    allowPasswordUser: false,
    apiKey: '',
    authorizedDomains: [],
    changeEmailTemplate: {body: '', format: '', from: '', fromDisplayName: '', replyTo: '', subject: ''},
    delegatedProjectNumber: '',
    enableAnonymousUser: false,
    idpConfig: [
      {
        clientId: '',
        enabled: false,
        experimentPercent: 0,
        provider: '',
        secret: '',
        whitelistedAudiences: []
      }
    ],
    legacyResetPasswordTemplate: {},
    resetPasswordTemplate: {},
    useEmailSending: false,
    verifyEmailTemplate: {}
  }
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/setProjectConfig';
const options = {
  method: 'POST',
  headers: {'content-type': 'application/json'},
  body: '{"allowPasswordUser":false,"apiKey":"","authorizedDomains":[],"changeEmailTemplate":{"body":"","format":"","from":"","fromDisplayName":"","replyTo":"","subject":""},"delegatedProjectNumber":"","enableAnonymousUser":false,"idpConfig":[{"clientId":"","enabled":false,"experimentPercent":0,"provider":"","secret":"","whitelistedAudiences":[]}],"legacyResetPasswordTemplate":{},"resetPasswordTemplate":{},"useEmailSending":false,"verifyEmailTemplate":{}}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSDictionary *headers = @{ @"content-type": @"application/json" };
NSDictionary *parameters = @{ @"allowPasswordUser": @NO,
                              @"apiKey": @"",
                              @"authorizedDomains": @[  ],
                              @"changeEmailTemplate": @{ @"body": @"", @"format": @"", @"from": @"", @"fromDisplayName": @"", @"replyTo": @"", @"subject": @"" },
                              @"delegatedProjectNumber": @"",
                              @"enableAnonymousUser": @NO,
                              @"idpConfig": @[ @{ @"clientId": @"", @"enabled": @NO, @"experimentPercent": @0, @"provider": @"", @"secret": @"", @"whitelistedAudiences": @[  ] } ],
                              @"legacyResetPasswordTemplate": @{  },
                              @"resetPasswordTemplate": @{  },
                              @"useEmailSending": @NO,
                              @"verifyEmailTemplate": @{  } };

NSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/setProjectConfig"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
[request setAllHTTPHeaderFields:headers];
[request setHTTPBody:postData];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/setProjectConfig" in
let headers = Header.add (Header.init ()) "content-type" "application/json" in
let body = Cohttp_lwt_body.of_string "{\n  \"allowPasswordUser\": false,\n  \"apiKey\": \"\",\n  \"authorizedDomains\": [],\n  \"changeEmailTemplate\": {\n    \"body\": \"\",\n    \"format\": \"\",\n    \"from\": \"\",\n    \"fromDisplayName\": \"\",\n    \"replyTo\": \"\",\n    \"subject\": \"\"\n  },\n  \"delegatedProjectNumber\": \"\",\n  \"enableAnonymousUser\": false,\n  \"idpConfig\": [\n    {\n      \"clientId\": \"\",\n      \"enabled\": false,\n      \"experimentPercent\": 0,\n      \"provider\": \"\",\n      \"secret\": \"\",\n      \"whitelistedAudiences\": []\n    }\n  ],\n  \"legacyResetPasswordTemplate\": {},\n  \"resetPasswordTemplate\": {},\n  \"useEmailSending\": false,\n  \"verifyEmailTemplate\": {}\n}" in

Client.call ~headers ~body `POST uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/setProjectConfig",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
  CURLOPT_POSTFIELDS => json_encode([
    'allowPasswordUser' => null,
    'apiKey' => '',
    'authorizedDomains' => [
        
    ],
    'changeEmailTemplate' => [
        'body' => '',
        'format' => '',
        'from' => '',
        'fromDisplayName' => '',
        'replyTo' => '',
        'subject' => ''
    ],
    'delegatedProjectNumber' => '',
    'enableAnonymousUser' => null,
    'idpConfig' => [
        [
                'clientId' => '',
                'enabled' => null,
                'experimentPercent' => 0,
                'provider' => '',
                'secret' => '',
                'whitelistedAudiences' => [
                                
                ]
        ]
    ],
    'legacyResetPasswordTemplate' => [
        
    ],
    'resetPasswordTemplate' => [
        
    ],
    'useEmailSending' => null,
    'verifyEmailTemplate' => [
        
    ]
  ]),
  CURLOPT_HTTPHEADER => [
    "content-type: application/json"
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('POST', '{{baseUrl}}/setProjectConfig', [
  'body' => '{
  "allowPasswordUser": false,
  "apiKey": "",
  "authorizedDomains": [],
  "changeEmailTemplate": {
    "body": "",
    "format": "",
    "from": "",
    "fromDisplayName": "",
    "replyTo": "",
    "subject": ""
  },
  "delegatedProjectNumber": "",
  "enableAnonymousUser": false,
  "idpConfig": [
    {
      "clientId": "",
      "enabled": false,
      "experimentPercent": 0,
      "provider": "",
      "secret": "",
      "whitelistedAudiences": []
    }
  ],
  "legacyResetPasswordTemplate": {},
  "resetPasswordTemplate": {},
  "useEmailSending": false,
  "verifyEmailTemplate": {}
}',
  'headers' => [
    'content-type' => 'application/json',
  ],
]);

echo $response->getBody();
setUrl('{{baseUrl}}/setProjectConfig');
$request->setMethod(HTTP_METH_POST);

$request->setHeaders([
  'content-type' => 'application/json'
]);

$request->setContentType('application/json');
$request->setBody(json_encode([
  'allowPasswordUser' => null,
  'apiKey' => '',
  'authorizedDomains' => [
    
  ],
  'changeEmailTemplate' => [
    'body' => '',
    'format' => '',
    'from' => '',
    'fromDisplayName' => '',
    'replyTo' => '',
    'subject' => ''
  ],
  'delegatedProjectNumber' => '',
  'enableAnonymousUser' => null,
  'idpConfig' => [
    [
        'clientId' => '',
        'enabled' => null,
        'experimentPercent' => 0,
        'provider' => '',
        'secret' => '',
        'whitelistedAudiences' => [
                
        ]
    ]
  ],
  'legacyResetPasswordTemplate' => [
    
  ],
  'resetPasswordTemplate' => [
    
  ],
  'useEmailSending' => null,
  'verifyEmailTemplate' => [
    
  ]
]));

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
append(json_encode([
  'allowPasswordUser' => null,
  'apiKey' => '',
  'authorizedDomains' => [
    
  ],
  'changeEmailTemplate' => [
    'body' => '',
    'format' => '',
    'from' => '',
    'fromDisplayName' => '',
    'replyTo' => '',
    'subject' => ''
  ],
  'delegatedProjectNumber' => '',
  'enableAnonymousUser' => null,
  'idpConfig' => [
    [
        'clientId' => '',
        'enabled' => null,
        'experimentPercent' => 0,
        'provider' => '',
        'secret' => '',
        'whitelistedAudiences' => [
                
        ]
    ]
  ],
  'legacyResetPasswordTemplate' => [
    
  ],
  'resetPasswordTemplate' => [
    
  ],
  'useEmailSending' => null,
  'verifyEmailTemplate' => [
    
  ]
]));
$request->setRequestUrl('{{baseUrl}}/setProjectConfig');
$request->setRequestMethod('POST');
$request->setBody($body);

$request->setHeaders([
  'content-type' => 'application/json'
]);

$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-WebRequest -Uri '{{baseUrl}}/setProjectConfig' -Method POST -Headers $headers -ContentType 'application/json' -Body '{
  "allowPasswordUser": false,
  "apiKey": "",
  "authorizedDomains": [],
  "changeEmailTemplate": {
    "body": "",
    "format": "",
    "from": "",
    "fromDisplayName": "",
    "replyTo": "",
    "subject": ""
  },
  "delegatedProjectNumber": "",
  "enableAnonymousUser": false,
  "idpConfig": [
    {
      "clientId": "",
      "enabled": false,
      "experimentPercent": 0,
      "provider": "",
      "secret": "",
      "whitelistedAudiences": []
    }
  ],
  "legacyResetPasswordTemplate": {},
  "resetPasswordTemplate": {},
  "useEmailSending": false,
  "verifyEmailTemplate": {}
}'
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-RestMethod -Uri '{{baseUrl}}/setProjectConfig' -Method POST -Headers $headers -ContentType 'application/json' -Body '{
  "allowPasswordUser": false,
  "apiKey": "",
  "authorizedDomains": [],
  "changeEmailTemplate": {
    "body": "",
    "format": "",
    "from": "",
    "fromDisplayName": "",
    "replyTo": "",
    "subject": ""
  },
  "delegatedProjectNumber": "",
  "enableAnonymousUser": false,
  "idpConfig": [
    {
      "clientId": "",
      "enabled": false,
      "experimentPercent": 0,
      "provider": "",
      "secret": "",
      "whitelistedAudiences": []
    }
  ],
  "legacyResetPasswordTemplate": {},
  "resetPasswordTemplate": {},
  "useEmailSending": false,
  "verifyEmailTemplate": {}
}'
import http.client

conn = http.client.HTTPSConnection("example.com")

payload = "{\n  \"allowPasswordUser\": false,\n  \"apiKey\": \"\",\n  \"authorizedDomains\": [],\n  \"changeEmailTemplate\": {\n    \"body\": \"\",\n    \"format\": \"\",\n    \"from\": \"\",\n    \"fromDisplayName\": \"\",\n    \"replyTo\": \"\",\n    \"subject\": \"\"\n  },\n  \"delegatedProjectNumber\": \"\",\n  \"enableAnonymousUser\": false,\n  \"idpConfig\": [\n    {\n      \"clientId\": \"\",\n      \"enabled\": false,\n      \"experimentPercent\": 0,\n      \"provider\": \"\",\n      \"secret\": \"\",\n      \"whitelistedAudiences\": []\n    }\n  ],\n  \"legacyResetPasswordTemplate\": {},\n  \"resetPasswordTemplate\": {},\n  \"useEmailSending\": false,\n  \"verifyEmailTemplate\": {}\n}"

headers = { 'content-type': "application/json" }

conn.request("POST", "/baseUrl/setProjectConfig", payload, headers)

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/setProjectConfig"

payload = {
    "allowPasswordUser": False,
    "apiKey": "",
    "authorizedDomains": [],
    "changeEmailTemplate": {
        "body": "",
        "format": "",
        "from": "",
        "fromDisplayName": "",
        "replyTo": "",
        "subject": ""
    },
    "delegatedProjectNumber": "",
    "enableAnonymousUser": False,
    "idpConfig": [
        {
            "clientId": "",
            "enabled": False,
            "experimentPercent": 0,
            "provider": "",
            "secret": "",
            "whitelistedAudiences": []
        }
    ],
    "legacyResetPasswordTemplate": {},
    "resetPasswordTemplate": {},
    "useEmailSending": False,
    "verifyEmailTemplate": {}
}
headers = {"content-type": "application/json"}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
library(httr)

url <- "{{baseUrl}}/setProjectConfig"

payload <- "{\n  \"allowPasswordUser\": false,\n  \"apiKey\": \"\",\n  \"authorizedDomains\": [],\n  \"changeEmailTemplate\": {\n    \"body\": \"\",\n    \"format\": \"\",\n    \"from\": \"\",\n    \"fromDisplayName\": \"\",\n    \"replyTo\": \"\",\n    \"subject\": \"\"\n  },\n  \"delegatedProjectNumber\": \"\",\n  \"enableAnonymousUser\": false,\n  \"idpConfig\": [\n    {\n      \"clientId\": \"\",\n      \"enabled\": false,\n      \"experimentPercent\": 0,\n      \"provider\": \"\",\n      \"secret\": \"\",\n      \"whitelistedAudiences\": []\n    }\n  ],\n  \"legacyResetPasswordTemplate\": {},\n  \"resetPasswordTemplate\": {},\n  \"useEmailSending\": false,\n  \"verifyEmailTemplate\": {}\n}"

encode <- "json"

response <- VERB("POST", url, body = payload, content_type("application/json"), encode = encode)

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/setProjectConfig")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["content-type"] = 'application/json'
request.body = "{\n  \"allowPasswordUser\": false,\n  \"apiKey\": \"\",\n  \"authorizedDomains\": [],\n  \"changeEmailTemplate\": {\n    \"body\": \"\",\n    \"format\": \"\",\n    \"from\": \"\",\n    \"fromDisplayName\": \"\",\n    \"replyTo\": \"\",\n    \"subject\": \"\"\n  },\n  \"delegatedProjectNumber\": \"\",\n  \"enableAnonymousUser\": false,\n  \"idpConfig\": [\n    {\n      \"clientId\": \"\",\n      \"enabled\": false,\n      \"experimentPercent\": 0,\n      \"provider\": \"\",\n      \"secret\": \"\",\n      \"whitelistedAudiences\": []\n    }\n  ],\n  \"legacyResetPasswordTemplate\": {},\n  \"resetPasswordTemplate\": {},\n  \"useEmailSending\": false,\n  \"verifyEmailTemplate\": {}\n}"

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
  headers: {'Content-Type' => 'application/json'}
)

response = conn.post('/baseUrl/setProjectConfig') do |req|
  req.body = "{\n  \"allowPasswordUser\": false,\n  \"apiKey\": \"\",\n  \"authorizedDomains\": [],\n  \"changeEmailTemplate\": {\n    \"body\": \"\",\n    \"format\": \"\",\n    \"from\": \"\",\n    \"fromDisplayName\": \"\",\n    \"replyTo\": \"\",\n    \"subject\": \"\"\n  },\n  \"delegatedProjectNumber\": \"\",\n  \"enableAnonymousUser\": false,\n  \"idpConfig\": [\n    {\n      \"clientId\": \"\",\n      \"enabled\": false,\n      \"experimentPercent\": 0,\n      \"provider\": \"\",\n      \"secret\": \"\",\n      \"whitelistedAudiences\": []\n    }\n  ],\n  \"legacyResetPasswordTemplate\": {},\n  \"resetPasswordTemplate\": {},\n  \"useEmailSending\": false,\n  \"verifyEmailTemplate\": {}\n}"
end

puts response.status
puts response.body
use serde_json::json;
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/setProjectConfig";

    let payload = json!({
        "allowPasswordUser": false,
        "apiKey": "",
        "authorizedDomains": (),
        "changeEmailTemplate": json!({
            "body": "",
            "format": "",
            "from": "",
            "fromDisplayName": "",
            "replyTo": "",
            "subject": ""
        }),
        "delegatedProjectNumber": "",
        "enableAnonymousUser": false,
        "idpConfig": (
            json!({
                "clientId": "",
                "enabled": false,
                "experimentPercent": 0,
                "provider": "",
                "secret": "",
                "whitelistedAudiences": ()
            })
        ),
        "legacyResetPasswordTemplate": json!({}),
        "resetPasswordTemplate": json!({}),
        "useEmailSending": false,
        "verifyEmailTemplate": json!({})
    });

    let mut headers = reqwest::header::HeaderMap::new();
    headers.insert("content-type", "application/json".parse().unwrap());

    let client = reqwest::Client::new();
    let response = client.post(url)
        .headers(headers)
        .json(&payload)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request POST \
  --url {{baseUrl}}/setProjectConfig \
  --header 'content-type: application/json' \
  --data '{
  "allowPasswordUser": false,
  "apiKey": "",
  "authorizedDomains": [],
  "changeEmailTemplate": {
    "body": "",
    "format": "",
    "from": "",
    "fromDisplayName": "",
    "replyTo": "",
    "subject": ""
  },
  "delegatedProjectNumber": "",
  "enableAnonymousUser": false,
  "idpConfig": [
    {
      "clientId": "",
      "enabled": false,
      "experimentPercent": 0,
      "provider": "",
      "secret": "",
      "whitelistedAudiences": []
    }
  ],
  "legacyResetPasswordTemplate": {},
  "resetPasswordTemplate": {},
  "useEmailSending": false,
  "verifyEmailTemplate": {}
}'
echo '{
  "allowPasswordUser": false,
  "apiKey": "",
  "authorizedDomains": [],
  "changeEmailTemplate": {
    "body": "",
    "format": "",
    "from": "",
    "fromDisplayName": "",
    "replyTo": "",
    "subject": ""
  },
  "delegatedProjectNumber": "",
  "enableAnonymousUser": false,
  "idpConfig": [
    {
      "clientId": "",
      "enabled": false,
      "experimentPercent": 0,
      "provider": "",
      "secret": "",
      "whitelistedAudiences": []
    }
  ],
  "legacyResetPasswordTemplate": {},
  "resetPasswordTemplate": {},
  "useEmailSending": false,
  "verifyEmailTemplate": {}
}' |  \
  http POST {{baseUrl}}/setProjectConfig \
  content-type:application/json
wget --quiet \
  --method POST \
  --header 'content-type: application/json' \
  --body-data '{\n  "allowPasswordUser": false,\n  "apiKey": "",\n  "authorizedDomains": [],\n  "changeEmailTemplate": {\n    "body": "",\n    "format": "",\n    "from": "",\n    "fromDisplayName": "",\n    "replyTo": "",\n    "subject": ""\n  },\n  "delegatedProjectNumber": "",\n  "enableAnonymousUser": false,\n  "idpConfig": [\n    {\n      "clientId": "",\n      "enabled": false,\n      "experimentPercent": 0,\n      "provider": "",\n      "secret": "",\n      "whitelistedAudiences": []\n    }\n  ],\n  "legacyResetPasswordTemplate": {},\n  "resetPasswordTemplate": {},\n  "useEmailSending": false,\n  "verifyEmailTemplate": {}\n}' \
  --output-document \
  - {{baseUrl}}/setProjectConfig
import Foundation

let headers = ["content-type": "application/json"]
let parameters = [
  "allowPasswordUser": false,
  "apiKey": "",
  "authorizedDomains": [],
  "changeEmailTemplate": [
    "body": "",
    "format": "",
    "from": "",
    "fromDisplayName": "",
    "replyTo": "",
    "subject": ""
  ],
  "delegatedProjectNumber": "",
  "enableAnonymousUser": false,
  "idpConfig": [
    [
      "clientId": "",
      "enabled": false,
      "experimentPercent": 0,
      "provider": "",
      "secret": "",
      "whitelistedAudiences": []
    ]
  ],
  "legacyResetPasswordTemplate": [],
  "resetPasswordTemplate": [],
  "useEmailSending": false,
  "verifyEmailTemplate": []
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/setProjectConfig")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
POST identitytoolkit.relyingparty.signOutUser
{{baseUrl}}/signOutUser
BODY json

{
  "instanceId": "",
  "localId": ""
}
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/signOutUser");

struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "content-type: application/json");
curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);

curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, "{\n  \"instanceId\": \"\",\n  \"localId\": \"\"\n}");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/post "{{baseUrl}}/signOutUser" {:content-type :json
                                                        :form-params {:instanceId ""
                                                                      :localId ""}})
require "http/client"

url = "{{baseUrl}}/signOutUser"
headers = HTTP::Headers{
  "content-type" => "application/json"
}
reqBody = "{\n  \"instanceId\": \"\",\n  \"localId\": \"\"\n}"

response = HTTP::Client.post url, headers: headers, body: reqBody
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Post,
    RequestUri = new Uri("{{baseUrl}}/signOutUser"),
    Content = new StringContent("{\n  \"instanceId\": \"\",\n  \"localId\": \"\"\n}")
    {
        Headers =
        {
            ContentType = new MediaTypeHeaderValue("application/json")
        }
    }
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/signOutUser");
var request = new RestRequest("", Method.Post);
request.AddHeader("content-type", "application/json");
request.AddParameter("application/json", "{\n  \"instanceId\": \"\",\n  \"localId\": \"\"\n}", ParameterType.RequestBody);
var response = client.Execute(request);
package main

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

func main() {

	url := "{{baseUrl}}/signOutUser"

	payload := strings.NewReader("{\n  \"instanceId\": \"\",\n  \"localId\": \"\"\n}")

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

	req.Header.Add("content-type", "application/json")

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

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

	fmt.Println(res)
	fmt.Println(string(body))

}
POST /baseUrl/signOutUser HTTP/1.1
Content-Type: application/json
Host: example.com
Content-Length: 39

{
  "instanceId": "",
  "localId": ""
}
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/signOutUser")
  .setHeader("content-type", "application/json")
  .setBody("{\n  \"instanceId\": \"\",\n  \"localId\": \"\"\n}")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/signOutUser"))
    .header("content-type", "application/json")
    .method("POST", HttpRequest.BodyPublishers.ofString("{\n  \"instanceId\": \"\",\n  \"localId\": \"\"\n}"))
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n  \"instanceId\": \"\",\n  \"localId\": \"\"\n}");
Request request = new Request.Builder()
  .url("{{baseUrl}}/signOutUser")
  .post(body)
  .addHeader("content-type", "application/json")
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/signOutUser")
  .header("content-type", "application/json")
  .body("{\n  \"instanceId\": \"\",\n  \"localId\": \"\"\n}")
  .asString();
const data = JSON.stringify({
  instanceId: '',
  localId: ''
});

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('POST', '{{baseUrl}}/signOutUser');
xhr.setRequestHeader('content-type', 'application/json');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'POST',
  url: '{{baseUrl}}/signOutUser',
  headers: {'content-type': 'application/json'},
  data: {instanceId: '', localId: ''}
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/signOutUser';
const options = {
  method: 'POST',
  headers: {'content-type': 'application/json'},
  body: '{"instanceId":"","localId":""}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/signOutUser',
  method: 'POST',
  headers: {
    'content-type': 'application/json'
  },
  processData: false,
  data: '{\n  "instanceId": "",\n  "localId": ""\n}'
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val mediaType = MediaType.parse("application/json")
val body = RequestBody.create(mediaType, "{\n  \"instanceId\": \"\",\n  \"localId\": \"\"\n}")
val request = Request.Builder()
  .url("{{baseUrl}}/signOutUser")
  .post(body)
  .addHeader("content-type", "application/json")
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'POST',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/signOutUser',
  headers: {
    'content-type': 'application/json'
  }
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.write(JSON.stringify({instanceId: '', localId: ''}));
req.end();
const request = require('request');

const options = {
  method: 'POST',
  url: '{{baseUrl}}/signOutUser',
  headers: {'content-type': 'application/json'},
  body: {instanceId: '', localId: ''},
  json: true
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('POST', '{{baseUrl}}/signOutUser');

req.headers({
  'content-type': 'application/json'
});

req.type('json');
req.send({
  instanceId: '',
  localId: ''
});

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'POST',
  url: '{{baseUrl}}/signOutUser',
  headers: {'content-type': 'application/json'},
  data: {instanceId: '', localId: ''}
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/signOutUser';
const options = {
  method: 'POST',
  headers: {'content-type': 'application/json'},
  body: '{"instanceId":"","localId":""}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSDictionary *headers = @{ @"content-type": @"application/json" };
NSDictionary *parameters = @{ @"instanceId": @"",
                              @"localId": @"" };

NSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/signOutUser"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
[request setAllHTTPHeaderFields:headers];
[request setHTTPBody:postData];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/signOutUser" in
let headers = Header.add (Header.init ()) "content-type" "application/json" in
let body = Cohttp_lwt_body.of_string "{\n  \"instanceId\": \"\",\n  \"localId\": \"\"\n}" in

Client.call ~headers ~body `POST uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/signOutUser",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
  CURLOPT_POSTFIELDS => json_encode([
    'instanceId' => '',
    'localId' => ''
  ]),
  CURLOPT_HTTPHEADER => [
    "content-type: application/json"
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('POST', '{{baseUrl}}/signOutUser', [
  'body' => '{
  "instanceId": "",
  "localId": ""
}',
  'headers' => [
    'content-type' => 'application/json',
  ],
]);

echo $response->getBody();
setUrl('{{baseUrl}}/signOutUser');
$request->setMethod(HTTP_METH_POST);

$request->setHeaders([
  'content-type' => 'application/json'
]);

$request->setContentType('application/json');
$request->setBody(json_encode([
  'instanceId' => '',
  'localId' => ''
]));

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
append(json_encode([
  'instanceId' => '',
  'localId' => ''
]));
$request->setRequestUrl('{{baseUrl}}/signOutUser');
$request->setRequestMethod('POST');
$request->setBody($body);

$request->setHeaders([
  'content-type' => 'application/json'
]);

$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-WebRequest -Uri '{{baseUrl}}/signOutUser' -Method POST -Headers $headers -ContentType 'application/json' -Body '{
  "instanceId": "",
  "localId": ""
}'
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-RestMethod -Uri '{{baseUrl}}/signOutUser' -Method POST -Headers $headers -ContentType 'application/json' -Body '{
  "instanceId": "",
  "localId": ""
}'
import http.client

conn = http.client.HTTPSConnection("example.com")

payload = "{\n  \"instanceId\": \"\",\n  \"localId\": \"\"\n}"

headers = { 'content-type': "application/json" }

conn.request("POST", "/baseUrl/signOutUser", payload, headers)

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/signOutUser"

payload = {
    "instanceId": "",
    "localId": ""
}
headers = {"content-type": "application/json"}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
library(httr)

url <- "{{baseUrl}}/signOutUser"

payload <- "{\n  \"instanceId\": \"\",\n  \"localId\": \"\"\n}"

encode <- "json"

response <- VERB("POST", url, body = payload, content_type("application/json"), encode = encode)

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/signOutUser")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["content-type"] = 'application/json'
request.body = "{\n  \"instanceId\": \"\",\n  \"localId\": \"\"\n}"

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
  headers: {'Content-Type' => 'application/json'}
)

response = conn.post('/baseUrl/signOutUser') do |req|
  req.body = "{\n  \"instanceId\": \"\",\n  \"localId\": \"\"\n}"
end

puts response.status
puts response.body
use serde_json::json;
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/signOutUser";

    let payload = json!({
        "instanceId": "",
        "localId": ""
    });

    let mut headers = reqwest::header::HeaderMap::new();
    headers.insert("content-type", "application/json".parse().unwrap());

    let client = reqwest::Client::new();
    let response = client.post(url)
        .headers(headers)
        .json(&payload)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request POST \
  --url {{baseUrl}}/signOutUser \
  --header 'content-type: application/json' \
  --data '{
  "instanceId": "",
  "localId": ""
}'
echo '{
  "instanceId": "",
  "localId": ""
}' |  \
  http POST {{baseUrl}}/signOutUser \
  content-type:application/json
wget --quiet \
  --method POST \
  --header 'content-type: application/json' \
  --body-data '{\n  "instanceId": "",\n  "localId": ""\n}' \
  --output-document \
  - {{baseUrl}}/signOutUser
import Foundation

let headers = ["content-type": "application/json"]
let parameters = [
  "instanceId": "",
  "localId": ""
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/signOutUser")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
POST identitytoolkit.relyingparty.signupNewUser
{{baseUrl}}/signupNewUser
BODY json

{
  "captchaChallenge": "",
  "captchaResponse": "",
  "disabled": false,
  "displayName": "",
  "email": "",
  "emailVerified": false,
  "idToken": "",
  "instanceId": "",
  "localId": "",
  "password": "",
  "phoneNumber": "",
  "photoUrl": "",
  "tenantId": "",
  "tenantProjectNumber": ""
}
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/signupNewUser");

struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "content-type: application/json");
curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);

curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, "{\n  \"captchaChallenge\": \"\",\n  \"captchaResponse\": \"\",\n  \"disabled\": false,\n  \"displayName\": \"\",\n  \"email\": \"\",\n  \"emailVerified\": false,\n  \"idToken\": \"\",\n  \"instanceId\": \"\",\n  \"localId\": \"\",\n  \"password\": \"\",\n  \"phoneNumber\": \"\",\n  \"photoUrl\": \"\",\n  \"tenantId\": \"\",\n  \"tenantProjectNumber\": \"\"\n}");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/post "{{baseUrl}}/signupNewUser" {:content-type :json
                                                          :form-params {:captchaChallenge ""
                                                                        :captchaResponse ""
                                                                        :disabled false
                                                                        :displayName ""
                                                                        :email ""
                                                                        :emailVerified false
                                                                        :idToken ""
                                                                        :instanceId ""
                                                                        :localId ""
                                                                        :password ""
                                                                        :phoneNumber ""
                                                                        :photoUrl ""
                                                                        :tenantId ""
                                                                        :tenantProjectNumber ""}})
require "http/client"

url = "{{baseUrl}}/signupNewUser"
headers = HTTP::Headers{
  "content-type" => "application/json"
}
reqBody = "{\n  \"captchaChallenge\": \"\",\n  \"captchaResponse\": \"\",\n  \"disabled\": false,\n  \"displayName\": \"\",\n  \"email\": \"\",\n  \"emailVerified\": false,\n  \"idToken\": \"\",\n  \"instanceId\": \"\",\n  \"localId\": \"\",\n  \"password\": \"\",\n  \"phoneNumber\": \"\",\n  \"photoUrl\": \"\",\n  \"tenantId\": \"\",\n  \"tenantProjectNumber\": \"\"\n}"

response = HTTP::Client.post url, headers: headers, body: reqBody
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Post,
    RequestUri = new Uri("{{baseUrl}}/signupNewUser"),
    Content = new StringContent("{\n  \"captchaChallenge\": \"\",\n  \"captchaResponse\": \"\",\n  \"disabled\": false,\n  \"displayName\": \"\",\n  \"email\": \"\",\n  \"emailVerified\": false,\n  \"idToken\": \"\",\n  \"instanceId\": \"\",\n  \"localId\": \"\",\n  \"password\": \"\",\n  \"phoneNumber\": \"\",\n  \"photoUrl\": \"\",\n  \"tenantId\": \"\",\n  \"tenantProjectNumber\": \"\"\n}")
    {
        Headers =
        {
            ContentType = new MediaTypeHeaderValue("application/json")
        }
    }
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/signupNewUser");
var request = new RestRequest("", Method.Post);
request.AddHeader("content-type", "application/json");
request.AddParameter("application/json", "{\n  \"captchaChallenge\": \"\",\n  \"captchaResponse\": \"\",\n  \"disabled\": false,\n  \"displayName\": \"\",\n  \"email\": \"\",\n  \"emailVerified\": false,\n  \"idToken\": \"\",\n  \"instanceId\": \"\",\n  \"localId\": \"\",\n  \"password\": \"\",\n  \"phoneNumber\": \"\",\n  \"photoUrl\": \"\",\n  \"tenantId\": \"\",\n  \"tenantProjectNumber\": \"\"\n}", ParameterType.RequestBody);
var response = client.Execute(request);
package main

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

func main() {

	url := "{{baseUrl}}/signupNewUser"

	payload := strings.NewReader("{\n  \"captchaChallenge\": \"\",\n  \"captchaResponse\": \"\",\n  \"disabled\": false,\n  \"displayName\": \"\",\n  \"email\": \"\",\n  \"emailVerified\": false,\n  \"idToken\": \"\",\n  \"instanceId\": \"\",\n  \"localId\": \"\",\n  \"password\": \"\",\n  \"phoneNumber\": \"\",\n  \"photoUrl\": \"\",\n  \"tenantId\": \"\",\n  \"tenantProjectNumber\": \"\"\n}")

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

	req.Header.Add("content-type", "application/json")

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

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

	fmt.Println(res)
	fmt.Println(string(body))

}
POST /baseUrl/signupNewUser HTTP/1.1
Content-Type: application/json
Host: example.com
Content-Length: 294

{
  "captchaChallenge": "",
  "captchaResponse": "",
  "disabled": false,
  "displayName": "",
  "email": "",
  "emailVerified": false,
  "idToken": "",
  "instanceId": "",
  "localId": "",
  "password": "",
  "phoneNumber": "",
  "photoUrl": "",
  "tenantId": "",
  "tenantProjectNumber": ""
}
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/signupNewUser")
  .setHeader("content-type", "application/json")
  .setBody("{\n  \"captchaChallenge\": \"\",\n  \"captchaResponse\": \"\",\n  \"disabled\": false,\n  \"displayName\": \"\",\n  \"email\": \"\",\n  \"emailVerified\": false,\n  \"idToken\": \"\",\n  \"instanceId\": \"\",\n  \"localId\": \"\",\n  \"password\": \"\",\n  \"phoneNumber\": \"\",\n  \"photoUrl\": \"\",\n  \"tenantId\": \"\",\n  \"tenantProjectNumber\": \"\"\n}")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/signupNewUser"))
    .header("content-type", "application/json")
    .method("POST", HttpRequest.BodyPublishers.ofString("{\n  \"captchaChallenge\": \"\",\n  \"captchaResponse\": \"\",\n  \"disabled\": false,\n  \"displayName\": \"\",\n  \"email\": \"\",\n  \"emailVerified\": false,\n  \"idToken\": \"\",\n  \"instanceId\": \"\",\n  \"localId\": \"\",\n  \"password\": \"\",\n  \"phoneNumber\": \"\",\n  \"photoUrl\": \"\",\n  \"tenantId\": \"\",\n  \"tenantProjectNumber\": \"\"\n}"))
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n  \"captchaChallenge\": \"\",\n  \"captchaResponse\": \"\",\n  \"disabled\": false,\n  \"displayName\": \"\",\n  \"email\": \"\",\n  \"emailVerified\": false,\n  \"idToken\": \"\",\n  \"instanceId\": \"\",\n  \"localId\": \"\",\n  \"password\": \"\",\n  \"phoneNumber\": \"\",\n  \"photoUrl\": \"\",\n  \"tenantId\": \"\",\n  \"tenantProjectNumber\": \"\"\n}");
Request request = new Request.Builder()
  .url("{{baseUrl}}/signupNewUser")
  .post(body)
  .addHeader("content-type", "application/json")
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/signupNewUser")
  .header("content-type", "application/json")
  .body("{\n  \"captchaChallenge\": \"\",\n  \"captchaResponse\": \"\",\n  \"disabled\": false,\n  \"displayName\": \"\",\n  \"email\": \"\",\n  \"emailVerified\": false,\n  \"idToken\": \"\",\n  \"instanceId\": \"\",\n  \"localId\": \"\",\n  \"password\": \"\",\n  \"phoneNumber\": \"\",\n  \"photoUrl\": \"\",\n  \"tenantId\": \"\",\n  \"tenantProjectNumber\": \"\"\n}")
  .asString();
const data = JSON.stringify({
  captchaChallenge: '',
  captchaResponse: '',
  disabled: false,
  displayName: '',
  email: '',
  emailVerified: false,
  idToken: '',
  instanceId: '',
  localId: '',
  password: '',
  phoneNumber: '',
  photoUrl: '',
  tenantId: '',
  tenantProjectNumber: ''
});

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('POST', '{{baseUrl}}/signupNewUser');
xhr.setRequestHeader('content-type', 'application/json');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'POST',
  url: '{{baseUrl}}/signupNewUser',
  headers: {'content-type': 'application/json'},
  data: {
    captchaChallenge: '',
    captchaResponse: '',
    disabled: false,
    displayName: '',
    email: '',
    emailVerified: false,
    idToken: '',
    instanceId: '',
    localId: '',
    password: '',
    phoneNumber: '',
    photoUrl: '',
    tenantId: '',
    tenantProjectNumber: ''
  }
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/signupNewUser';
const options = {
  method: 'POST',
  headers: {'content-type': 'application/json'},
  body: '{"captchaChallenge":"","captchaResponse":"","disabled":false,"displayName":"","email":"","emailVerified":false,"idToken":"","instanceId":"","localId":"","password":"","phoneNumber":"","photoUrl":"","tenantId":"","tenantProjectNumber":""}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/signupNewUser',
  method: 'POST',
  headers: {
    'content-type': 'application/json'
  },
  processData: false,
  data: '{\n  "captchaChallenge": "",\n  "captchaResponse": "",\n  "disabled": false,\n  "displayName": "",\n  "email": "",\n  "emailVerified": false,\n  "idToken": "",\n  "instanceId": "",\n  "localId": "",\n  "password": "",\n  "phoneNumber": "",\n  "photoUrl": "",\n  "tenantId": "",\n  "tenantProjectNumber": ""\n}'
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val mediaType = MediaType.parse("application/json")
val body = RequestBody.create(mediaType, "{\n  \"captchaChallenge\": \"\",\n  \"captchaResponse\": \"\",\n  \"disabled\": false,\n  \"displayName\": \"\",\n  \"email\": \"\",\n  \"emailVerified\": false,\n  \"idToken\": \"\",\n  \"instanceId\": \"\",\n  \"localId\": \"\",\n  \"password\": \"\",\n  \"phoneNumber\": \"\",\n  \"photoUrl\": \"\",\n  \"tenantId\": \"\",\n  \"tenantProjectNumber\": \"\"\n}")
val request = Request.Builder()
  .url("{{baseUrl}}/signupNewUser")
  .post(body)
  .addHeader("content-type", "application/json")
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'POST',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/signupNewUser',
  headers: {
    'content-type': 'application/json'
  }
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.write(JSON.stringify({
  captchaChallenge: '',
  captchaResponse: '',
  disabled: false,
  displayName: '',
  email: '',
  emailVerified: false,
  idToken: '',
  instanceId: '',
  localId: '',
  password: '',
  phoneNumber: '',
  photoUrl: '',
  tenantId: '',
  tenantProjectNumber: ''
}));
req.end();
const request = require('request');

const options = {
  method: 'POST',
  url: '{{baseUrl}}/signupNewUser',
  headers: {'content-type': 'application/json'},
  body: {
    captchaChallenge: '',
    captchaResponse: '',
    disabled: false,
    displayName: '',
    email: '',
    emailVerified: false,
    idToken: '',
    instanceId: '',
    localId: '',
    password: '',
    phoneNumber: '',
    photoUrl: '',
    tenantId: '',
    tenantProjectNumber: ''
  },
  json: true
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('POST', '{{baseUrl}}/signupNewUser');

req.headers({
  'content-type': 'application/json'
});

req.type('json');
req.send({
  captchaChallenge: '',
  captchaResponse: '',
  disabled: false,
  displayName: '',
  email: '',
  emailVerified: false,
  idToken: '',
  instanceId: '',
  localId: '',
  password: '',
  phoneNumber: '',
  photoUrl: '',
  tenantId: '',
  tenantProjectNumber: ''
});

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'POST',
  url: '{{baseUrl}}/signupNewUser',
  headers: {'content-type': 'application/json'},
  data: {
    captchaChallenge: '',
    captchaResponse: '',
    disabled: false,
    displayName: '',
    email: '',
    emailVerified: false,
    idToken: '',
    instanceId: '',
    localId: '',
    password: '',
    phoneNumber: '',
    photoUrl: '',
    tenantId: '',
    tenantProjectNumber: ''
  }
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/signupNewUser';
const options = {
  method: 'POST',
  headers: {'content-type': 'application/json'},
  body: '{"captchaChallenge":"","captchaResponse":"","disabled":false,"displayName":"","email":"","emailVerified":false,"idToken":"","instanceId":"","localId":"","password":"","phoneNumber":"","photoUrl":"","tenantId":"","tenantProjectNumber":""}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSDictionary *headers = @{ @"content-type": @"application/json" };
NSDictionary *parameters = @{ @"captchaChallenge": @"",
                              @"captchaResponse": @"",
                              @"disabled": @NO,
                              @"displayName": @"",
                              @"email": @"",
                              @"emailVerified": @NO,
                              @"idToken": @"",
                              @"instanceId": @"",
                              @"localId": @"",
                              @"password": @"",
                              @"phoneNumber": @"",
                              @"photoUrl": @"",
                              @"tenantId": @"",
                              @"tenantProjectNumber": @"" };

NSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/signupNewUser"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
[request setAllHTTPHeaderFields:headers];
[request setHTTPBody:postData];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/signupNewUser" in
let headers = Header.add (Header.init ()) "content-type" "application/json" in
let body = Cohttp_lwt_body.of_string "{\n  \"captchaChallenge\": \"\",\n  \"captchaResponse\": \"\",\n  \"disabled\": false,\n  \"displayName\": \"\",\n  \"email\": \"\",\n  \"emailVerified\": false,\n  \"idToken\": \"\",\n  \"instanceId\": \"\",\n  \"localId\": \"\",\n  \"password\": \"\",\n  \"phoneNumber\": \"\",\n  \"photoUrl\": \"\",\n  \"tenantId\": \"\",\n  \"tenantProjectNumber\": \"\"\n}" in

Client.call ~headers ~body `POST uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/signupNewUser",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
  CURLOPT_POSTFIELDS => json_encode([
    'captchaChallenge' => '',
    'captchaResponse' => '',
    'disabled' => null,
    'displayName' => '',
    'email' => '',
    'emailVerified' => null,
    'idToken' => '',
    'instanceId' => '',
    'localId' => '',
    'password' => '',
    'phoneNumber' => '',
    'photoUrl' => '',
    'tenantId' => '',
    'tenantProjectNumber' => ''
  ]),
  CURLOPT_HTTPHEADER => [
    "content-type: application/json"
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('POST', '{{baseUrl}}/signupNewUser', [
  'body' => '{
  "captchaChallenge": "",
  "captchaResponse": "",
  "disabled": false,
  "displayName": "",
  "email": "",
  "emailVerified": false,
  "idToken": "",
  "instanceId": "",
  "localId": "",
  "password": "",
  "phoneNumber": "",
  "photoUrl": "",
  "tenantId": "",
  "tenantProjectNumber": ""
}',
  'headers' => [
    'content-type' => 'application/json',
  ],
]);

echo $response->getBody();
setUrl('{{baseUrl}}/signupNewUser');
$request->setMethod(HTTP_METH_POST);

$request->setHeaders([
  'content-type' => 'application/json'
]);

$request->setContentType('application/json');
$request->setBody(json_encode([
  'captchaChallenge' => '',
  'captchaResponse' => '',
  'disabled' => null,
  'displayName' => '',
  'email' => '',
  'emailVerified' => null,
  'idToken' => '',
  'instanceId' => '',
  'localId' => '',
  'password' => '',
  'phoneNumber' => '',
  'photoUrl' => '',
  'tenantId' => '',
  'tenantProjectNumber' => ''
]));

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
append(json_encode([
  'captchaChallenge' => '',
  'captchaResponse' => '',
  'disabled' => null,
  'displayName' => '',
  'email' => '',
  'emailVerified' => null,
  'idToken' => '',
  'instanceId' => '',
  'localId' => '',
  'password' => '',
  'phoneNumber' => '',
  'photoUrl' => '',
  'tenantId' => '',
  'tenantProjectNumber' => ''
]));
$request->setRequestUrl('{{baseUrl}}/signupNewUser');
$request->setRequestMethod('POST');
$request->setBody($body);

$request->setHeaders([
  'content-type' => 'application/json'
]);

$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-WebRequest -Uri '{{baseUrl}}/signupNewUser' -Method POST -Headers $headers -ContentType 'application/json' -Body '{
  "captchaChallenge": "",
  "captchaResponse": "",
  "disabled": false,
  "displayName": "",
  "email": "",
  "emailVerified": false,
  "idToken": "",
  "instanceId": "",
  "localId": "",
  "password": "",
  "phoneNumber": "",
  "photoUrl": "",
  "tenantId": "",
  "tenantProjectNumber": ""
}'
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-RestMethod -Uri '{{baseUrl}}/signupNewUser' -Method POST -Headers $headers -ContentType 'application/json' -Body '{
  "captchaChallenge": "",
  "captchaResponse": "",
  "disabled": false,
  "displayName": "",
  "email": "",
  "emailVerified": false,
  "idToken": "",
  "instanceId": "",
  "localId": "",
  "password": "",
  "phoneNumber": "",
  "photoUrl": "",
  "tenantId": "",
  "tenantProjectNumber": ""
}'
import http.client

conn = http.client.HTTPSConnection("example.com")

payload = "{\n  \"captchaChallenge\": \"\",\n  \"captchaResponse\": \"\",\n  \"disabled\": false,\n  \"displayName\": \"\",\n  \"email\": \"\",\n  \"emailVerified\": false,\n  \"idToken\": \"\",\n  \"instanceId\": \"\",\n  \"localId\": \"\",\n  \"password\": \"\",\n  \"phoneNumber\": \"\",\n  \"photoUrl\": \"\",\n  \"tenantId\": \"\",\n  \"tenantProjectNumber\": \"\"\n}"

headers = { 'content-type': "application/json" }

conn.request("POST", "/baseUrl/signupNewUser", payload, headers)

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/signupNewUser"

payload = {
    "captchaChallenge": "",
    "captchaResponse": "",
    "disabled": False,
    "displayName": "",
    "email": "",
    "emailVerified": False,
    "idToken": "",
    "instanceId": "",
    "localId": "",
    "password": "",
    "phoneNumber": "",
    "photoUrl": "",
    "tenantId": "",
    "tenantProjectNumber": ""
}
headers = {"content-type": "application/json"}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
library(httr)

url <- "{{baseUrl}}/signupNewUser"

payload <- "{\n  \"captchaChallenge\": \"\",\n  \"captchaResponse\": \"\",\n  \"disabled\": false,\n  \"displayName\": \"\",\n  \"email\": \"\",\n  \"emailVerified\": false,\n  \"idToken\": \"\",\n  \"instanceId\": \"\",\n  \"localId\": \"\",\n  \"password\": \"\",\n  \"phoneNumber\": \"\",\n  \"photoUrl\": \"\",\n  \"tenantId\": \"\",\n  \"tenantProjectNumber\": \"\"\n}"

encode <- "json"

response <- VERB("POST", url, body = payload, content_type("application/json"), encode = encode)

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/signupNewUser")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["content-type"] = 'application/json'
request.body = "{\n  \"captchaChallenge\": \"\",\n  \"captchaResponse\": \"\",\n  \"disabled\": false,\n  \"displayName\": \"\",\n  \"email\": \"\",\n  \"emailVerified\": false,\n  \"idToken\": \"\",\n  \"instanceId\": \"\",\n  \"localId\": \"\",\n  \"password\": \"\",\n  \"phoneNumber\": \"\",\n  \"photoUrl\": \"\",\n  \"tenantId\": \"\",\n  \"tenantProjectNumber\": \"\"\n}"

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
  headers: {'Content-Type' => 'application/json'}
)

response = conn.post('/baseUrl/signupNewUser') do |req|
  req.body = "{\n  \"captchaChallenge\": \"\",\n  \"captchaResponse\": \"\",\n  \"disabled\": false,\n  \"displayName\": \"\",\n  \"email\": \"\",\n  \"emailVerified\": false,\n  \"idToken\": \"\",\n  \"instanceId\": \"\",\n  \"localId\": \"\",\n  \"password\": \"\",\n  \"phoneNumber\": \"\",\n  \"photoUrl\": \"\",\n  \"tenantId\": \"\",\n  \"tenantProjectNumber\": \"\"\n}"
end

puts response.status
puts response.body
use serde_json::json;
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/signupNewUser";

    let payload = json!({
        "captchaChallenge": "",
        "captchaResponse": "",
        "disabled": false,
        "displayName": "",
        "email": "",
        "emailVerified": false,
        "idToken": "",
        "instanceId": "",
        "localId": "",
        "password": "",
        "phoneNumber": "",
        "photoUrl": "",
        "tenantId": "",
        "tenantProjectNumber": ""
    });

    let mut headers = reqwest::header::HeaderMap::new();
    headers.insert("content-type", "application/json".parse().unwrap());

    let client = reqwest::Client::new();
    let response = client.post(url)
        .headers(headers)
        .json(&payload)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request POST \
  --url {{baseUrl}}/signupNewUser \
  --header 'content-type: application/json' \
  --data '{
  "captchaChallenge": "",
  "captchaResponse": "",
  "disabled": false,
  "displayName": "",
  "email": "",
  "emailVerified": false,
  "idToken": "",
  "instanceId": "",
  "localId": "",
  "password": "",
  "phoneNumber": "",
  "photoUrl": "",
  "tenantId": "",
  "tenantProjectNumber": ""
}'
echo '{
  "captchaChallenge": "",
  "captchaResponse": "",
  "disabled": false,
  "displayName": "",
  "email": "",
  "emailVerified": false,
  "idToken": "",
  "instanceId": "",
  "localId": "",
  "password": "",
  "phoneNumber": "",
  "photoUrl": "",
  "tenantId": "",
  "tenantProjectNumber": ""
}' |  \
  http POST {{baseUrl}}/signupNewUser \
  content-type:application/json
wget --quiet \
  --method POST \
  --header 'content-type: application/json' \
  --body-data '{\n  "captchaChallenge": "",\n  "captchaResponse": "",\n  "disabled": false,\n  "displayName": "",\n  "email": "",\n  "emailVerified": false,\n  "idToken": "",\n  "instanceId": "",\n  "localId": "",\n  "password": "",\n  "phoneNumber": "",\n  "photoUrl": "",\n  "tenantId": "",\n  "tenantProjectNumber": ""\n}' \
  --output-document \
  - {{baseUrl}}/signupNewUser
import Foundation

let headers = ["content-type": "application/json"]
let parameters = [
  "captchaChallenge": "",
  "captchaResponse": "",
  "disabled": false,
  "displayName": "",
  "email": "",
  "emailVerified": false,
  "idToken": "",
  "instanceId": "",
  "localId": "",
  "password": "",
  "phoneNumber": "",
  "photoUrl": "",
  "tenantId": "",
  "tenantProjectNumber": ""
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/signupNewUser")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
POST identitytoolkit.relyingparty.uploadAccount
{{baseUrl}}/uploadAccount
BODY json

{
  "allowOverwrite": false,
  "blockSize": 0,
  "cpuMemCost": 0,
  "delegatedProjectNumber": "",
  "dkLen": 0,
  "hashAlgorithm": "",
  "memoryCost": 0,
  "parallelization": 0,
  "rounds": 0,
  "saltSeparator": "",
  "sanityCheck": false,
  "signerKey": "",
  "targetProjectId": "",
  "users": [
    {
      "createdAt": "",
      "customAttributes": "",
      "customAuth": false,
      "disabled": false,
      "displayName": "",
      "email": "",
      "emailVerified": false,
      "lastLoginAt": "",
      "localId": "",
      "passwordHash": "",
      "passwordUpdatedAt": "",
      "phoneNumber": "",
      "photoUrl": "",
      "providerUserInfo": [
        {
          "displayName": "",
          "email": "",
          "federatedId": "",
          "phoneNumber": "",
          "photoUrl": "",
          "providerId": "",
          "rawId": "",
          "screenName": ""
        }
      ],
      "rawPassword": "",
      "salt": "",
      "screenName": "",
      "validSince": "",
      "version": 0
    }
  ]
}
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/uploadAccount");

struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "content-type: application/json");
curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);

curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, "{\n  \"allowOverwrite\": false,\n  \"blockSize\": 0,\n  \"cpuMemCost\": 0,\n  \"delegatedProjectNumber\": \"\",\n  \"dkLen\": 0,\n  \"hashAlgorithm\": \"\",\n  \"memoryCost\": 0,\n  \"parallelization\": 0,\n  \"rounds\": 0,\n  \"saltSeparator\": \"\",\n  \"sanityCheck\": false,\n  \"signerKey\": \"\",\n  \"targetProjectId\": \"\",\n  \"users\": [\n    {\n      \"createdAt\": \"\",\n      \"customAttributes\": \"\",\n      \"customAuth\": false,\n      \"disabled\": false,\n      \"displayName\": \"\",\n      \"email\": \"\",\n      \"emailVerified\": false,\n      \"lastLoginAt\": \"\",\n      \"localId\": \"\",\n      \"passwordHash\": \"\",\n      \"passwordUpdatedAt\": \"\",\n      \"phoneNumber\": \"\",\n      \"photoUrl\": \"\",\n      \"providerUserInfo\": [\n        {\n          \"displayName\": \"\",\n          \"email\": \"\",\n          \"federatedId\": \"\",\n          \"phoneNumber\": \"\",\n          \"photoUrl\": \"\",\n          \"providerId\": \"\",\n          \"rawId\": \"\",\n          \"screenName\": \"\"\n        }\n      ],\n      \"rawPassword\": \"\",\n      \"salt\": \"\",\n      \"screenName\": \"\",\n      \"validSince\": \"\",\n      \"version\": 0\n    }\n  ]\n}");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/post "{{baseUrl}}/uploadAccount" {:content-type :json
                                                          :form-params {:allowOverwrite false
                                                                        :blockSize 0
                                                                        :cpuMemCost 0
                                                                        :delegatedProjectNumber ""
                                                                        :dkLen 0
                                                                        :hashAlgorithm ""
                                                                        :memoryCost 0
                                                                        :parallelization 0
                                                                        :rounds 0
                                                                        :saltSeparator ""
                                                                        :sanityCheck false
                                                                        :signerKey ""
                                                                        :targetProjectId ""
                                                                        :users [{:createdAt ""
                                                                                 :customAttributes ""
                                                                                 :customAuth false
                                                                                 :disabled false
                                                                                 :displayName ""
                                                                                 :email ""
                                                                                 :emailVerified false
                                                                                 :lastLoginAt ""
                                                                                 :localId ""
                                                                                 :passwordHash ""
                                                                                 :passwordUpdatedAt ""
                                                                                 :phoneNumber ""
                                                                                 :photoUrl ""
                                                                                 :providerUserInfo [{:displayName ""
                                                                                                     :email ""
                                                                                                     :federatedId ""
                                                                                                     :phoneNumber ""
                                                                                                     :photoUrl ""
                                                                                                     :providerId ""
                                                                                                     :rawId ""
                                                                                                     :screenName ""}]
                                                                                 :rawPassword ""
                                                                                 :salt ""
                                                                                 :screenName ""
                                                                                 :validSince ""
                                                                                 :version 0}]}})
require "http/client"

url = "{{baseUrl}}/uploadAccount"
headers = HTTP::Headers{
  "content-type" => "application/json"
}
reqBody = "{\n  \"allowOverwrite\": false,\n  \"blockSize\": 0,\n  \"cpuMemCost\": 0,\n  \"delegatedProjectNumber\": \"\",\n  \"dkLen\": 0,\n  \"hashAlgorithm\": \"\",\n  \"memoryCost\": 0,\n  \"parallelization\": 0,\n  \"rounds\": 0,\n  \"saltSeparator\": \"\",\n  \"sanityCheck\": false,\n  \"signerKey\": \"\",\n  \"targetProjectId\": \"\",\n  \"users\": [\n    {\n      \"createdAt\": \"\",\n      \"customAttributes\": \"\",\n      \"customAuth\": false,\n      \"disabled\": false,\n      \"displayName\": \"\",\n      \"email\": \"\",\n      \"emailVerified\": false,\n      \"lastLoginAt\": \"\",\n      \"localId\": \"\",\n      \"passwordHash\": \"\",\n      \"passwordUpdatedAt\": \"\",\n      \"phoneNumber\": \"\",\n      \"photoUrl\": \"\",\n      \"providerUserInfo\": [\n        {\n          \"displayName\": \"\",\n          \"email\": \"\",\n          \"federatedId\": \"\",\n          \"phoneNumber\": \"\",\n          \"photoUrl\": \"\",\n          \"providerId\": \"\",\n          \"rawId\": \"\",\n          \"screenName\": \"\"\n        }\n      ],\n      \"rawPassword\": \"\",\n      \"salt\": \"\",\n      \"screenName\": \"\",\n      \"validSince\": \"\",\n      \"version\": 0\n    }\n  ]\n}"

response = HTTP::Client.post url, headers: headers, body: reqBody
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Post,
    RequestUri = new Uri("{{baseUrl}}/uploadAccount"),
    Content = new StringContent("{\n  \"allowOverwrite\": false,\n  \"blockSize\": 0,\n  \"cpuMemCost\": 0,\n  \"delegatedProjectNumber\": \"\",\n  \"dkLen\": 0,\n  \"hashAlgorithm\": \"\",\n  \"memoryCost\": 0,\n  \"parallelization\": 0,\n  \"rounds\": 0,\n  \"saltSeparator\": \"\",\n  \"sanityCheck\": false,\n  \"signerKey\": \"\",\n  \"targetProjectId\": \"\",\n  \"users\": [\n    {\n      \"createdAt\": \"\",\n      \"customAttributes\": \"\",\n      \"customAuth\": false,\n      \"disabled\": false,\n      \"displayName\": \"\",\n      \"email\": \"\",\n      \"emailVerified\": false,\n      \"lastLoginAt\": \"\",\n      \"localId\": \"\",\n      \"passwordHash\": \"\",\n      \"passwordUpdatedAt\": \"\",\n      \"phoneNumber\": \"\",\n      \"photoUrl\": \"\",\n      \"providerUserInfo\": [\n        {\n          \"displayName\": \"\",\n          \"email\": \"\",\n          \"federatedId\": \"\",\n          \"phoneNumber\": \"\",\n          \"photoUrl\": \"\",\n          \"providerId\": \"\",\n          \"rawId\": \"\",\n          \"screenName\": \"\"\n        }\n      ],\n      \"rawPassword\": \"\",\n      \"salt\": \"\",\n      \"screenName\": \"\",\n      \"validSince\": \"\",\n      \"version\": 0\n    }\n  ]\n}")
    {
        Headers =
        {
            ContentType = new MediaTypeHeaderValue("application/json")
        }
    }
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/uploadAccount");
var request = new RestRequest("", Method.Post);
request.AddHeader("content-type", "application/json");
request.AddParameter("application/json", "{\n  \"allowOverwrite\": false,\n  \"blockSize\": 0,\n  \"cpuMemCost\": 0,\n  \"delegatedProjectNumber\": \"\",\n  \"dkLen\": 0,\n  \"hashAlgorithm\": \"\",\n  \"memoryCost\": 0,\n  \"parallelization\": 0,\n  \"rounds\": 0,\n  \"saltSeparator\": \"\",\n  \"sanityCheck\": false,\n  \"signerKey\": \"\",\n  \"targetProjectId\": \"\",\n  \"users\": [\n    {\n      \"createdAt\": \"\",\n      \"customAttributes\": \"\",\n      \"customAuth\": false,\n      \"disabled\": false,\n      \"displayName\": \"\",\n      \"email\": \"\",\n      \"emailVerified\": false,\n      \"lastLoginAt\": \"\",\n      \"localId\": \"\",\n      \"passwordHash\": \"\",\n      \"passwordUpdatedAt\": \"\",\n      \"phoneNumber\": \"\",\n      \"photoUrl\": \"\",\n      \"providerUserInfo\": [\n        {\n          \"displayName\": \"\",\n          \"email\": \"\",\n          \"federatedId\": \"\",\n          \"phoneNumber\": \"\",\n          \"photoUrl\": \"\",\n          \"providerId\": \"\",\n          \"rawId\": \"\",\n          \"screenName\": \"\"\n        }\n      ],\n      \"rawPassword\": \"\",\n      \"salt\": \"\",\n      \"screenName\": \"\",\n      \"validSince\": \"\",\n      \"version\": 0\n    }\n  ]\n}", ParameterType.RequestBody);
var response = client.Execute(request);
package main

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

func main() {

	url := "{{baseUrl}}/uploadAccount"

	payload := strings.NewReader("{\n  \"allowOverwrite\": false,\n  \"blockSize\": 0,\n  \"cpuMemCost\": 0,\n  \"delegatedProjectNumber\": \"\",\n  \"dkLen\": 0,\n  \"hashAlgorithm\": \"\",\n  \"memoryCost\": 0,\n  \"parallelization\": 0,\n  \"rounds\": 0,\n  \"saltSeparator\": \"\",\n  \"sanityCheck\": false,\n  \"signerKey\": \"\",\n  \"targetProjectId\": \"\",\n  \"users\": [\n    {\n      \"createdAt\": \"\",\n      \"customAttributes\": \"\",\n      \"customAuth\": false,\n      \"disabled\": false,\n      \"displayName\": \"\",\n      \"email\": \"\",\n      \"emailVerified\": false,\n      \"lastLoginAt\": \"\",\n      \"localId\": \"\",\n      \"passwordHash\": \"\",\n      \"passwordUpdatedAt\": \"\",\n      \"phoneNumber\": \"\",\n      \"photoUrl\": \"\",\n      \"providerUserInfo\": [\n        {\n          \"displayName\": \"\",\n          \"email\": \"\",\n          \"federatedId\": \"\",\n          \"phoneNumber\": \"\",\n          \"photoUrl\": \"\",\n          \"providerId\": \"\",\n          \"rawId\": \"\",\n          \"screenName\": \"\"\n        }\n      ],\n      \"rawPassword\": \"\",\n      \"salt\": \"\",\n      \"screenName\": \"\",\n      \"validSince\": \"\",\n      \"version\": 0\n    }\n  ]\n}")

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

	req.Header.Add("content-type", "application/json")

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

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

	fmt.Println(res)
	fmt.Println(string(body))

}
POST /baseUrl/uploadAccount HTTP/1.1
Content-Type: application/json
Host: example.com
Content-Length: 1024

{
  "allowOverwrite": false,
  "blockSize": 0,
  "cpuMemCost": 0,
  "delegatedProjectNumber": "",
  "dkLen": 0,
  "hashAlgorithm": "",
  "memoryCost": 0,
  "parallelization": 0,
  "rounds": 0,
  "saltSeparator": "",
  "sanityCheck": false,
  "signerKey": "",
  "targetProjectId": "",
  "users": [
    {
      "createdAt": "",
      "customAttributes": "",
      "customAuth": false,
      "disabled": false,
      "displayName": "",
      "email": "",
      "emailVerified": false,
      "lastLoginAt": "",
      "localId": "",
      "passwordHash": "",
      "passwordUpdatedAt": "",
      "phoneNumber": "",
      "photoUrl": "",
      "providerUserInfo": [
        {
          "displayName": "",
          "email": "",
          "federatedId": "",
          "phoneNumber": "",
          "photoUrl": "",
          "providerId": "",
          "rawId": "",
          "screenName": ""
        }
      ],
      "rawPassword": "",
      "salt": "",
      "screenName": "",
      "validSince": "",
      "version": 0
    }
  ]
}
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/uploadAccount")
  .setHeader("content-type", "application/json")
  .setBody("{\n  \"allowOverwrite\": false,\n  \"blockSize\": 0,\n  \"cpuMemCost\": 0,\n  \"delegatedProjectNumber\": \"\",\n  \"dkLen\": 0,\n  \"hashAlgorithm\": \"\",\n  \"memoryCost\": 0,\n  \"parallelization\": 0,\n  \"rounds\": 0,\n  \"saltSeparator\": \"\",\n  \"sanityCheck\": false,\n  \"signerKey\": \"\",\n  \"targetProjectId\": \"\",\n  \"users\": [\n    {\n      \"createdAt\": \"\",\n      \"customAttributes\": \"\",\n      \"customAuth\": false,\n      \"disabled\": false,\n      \"displayName\": \"\",\n      \"email\": \"\",\n      \"emailVerified\": false,\n      \"lastLoginAt\": \"\",\n      \"localId\": \"\",\n      \"passwordHash\": \"\",\n      \"passwordUpdatedAt\": \"\",\n      \"phoneNumber\": \"\",\n      \"photoUrl\": \"\",\n      \"providerUserInfo\": [\n        {\n          \"displayName\": \"\",\n          \"email\": \"\",\n          \"federatedId\": \"\",\n          \"phoneNumber\": \"\",\n          \"photoUrl\": \"\",\n          \"providerId\": \"\",\n          \"rawId\": \"\",\n          \"screenName\": \"\"\n        }\n      ],\n      \"rawPassword\": \"\",\n      \"salt\": \"\",\n      \"screenName\": \"\",\n      \"validSince\": \"\",\n      \"version\": 0\n    }\n  ]\n}")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/uploadAccount"))
    .header("content-type", "application/json")
    .method("POST", HttpRequest.BodyPublishers.ofString("{\n  \"allowOverwrite\": false,\n  \"blockSize\": 0,\n  \"cpuMemCost\": 0,\n  \"delegatedProjectNumber\": \"\",\n  \"dkLen\": 0,\n  \"hashAlgorithm\": \"\",\n  \"memoryCost\": 0,\n  \"parallelization\": 0,\n  \"rounds\": 0,\n  \"saltSeparator\": \"\",\n  \"sanityCheck\": false,\n  \"signerKey\": \"\",\n  \"targetProjectId\": \"\",\n  \"users\": [\n    {\n      \"createdAt\": \"\",\n      \"customAttributes\": \"\",\n      \"customAuth\": false,\n      \"disabled\": false,\n      \"displayName\": \"\",\n      \"email\": \"\",\n      \"emailVerified\": false,\n      \"lastLoginAt\": \"\",\n      \"localId\": \"\",\n      \"passwordHash\": \"\",\n      \"passwordUpdatedAt\": \"\",\n      \"phoneNumber\": \"\",\n      \"photoUrl\": \"\",\n      \"providerUserInfo\": [\n        {\n          \"displayName\": \"\",\n          \"email\": \"\",\n          \"federatedId\": \"\",\n          \"phoneNumber\": \"\",\n          \"photoUrl\": \"\",\n          \"providerId\": \"\",\n          \"rawId\": \"\",\n          \"screenName\": \"\"\n        }\n      ],\n      \"rawPassword\": \"\",\n      \"salt\": \"\",\n      \"screenName\": \"\",\n      \"validSince\": \"\",\n      \"version\": 0\n    }\n  ]\n}"))
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n  \"allowOverwrite\": false,\n  \"blockSize\": 0,\n  \"cpuMemCost\": 0,\n  \"delegatedProjectNumber\": \"\",\n  \"dkLen\": 0,\n  \"hashAlgorithm\": \"\",\n  \"memoryCost\": 0,\n  \"parallelization\": 0,\n  \"rounds\": 0,\n  \"saltSeparator\": \"\",\n  \"sanityCheck\": false,\n  \"signerKey\": \"\",\n  \"targetProjectId\": \"\",\n  \"users\": [\n    {\n      \"createdAt\": \"\",\n      \"customAttributes\": \"\",\n      \"customAuth\": false,\n      \"disabled\": false,\n      \"displayName\": \"\",\n      \"email\": \"\",\n      \"emailVerified\": false,\n      \"lastLoginAt\": \"\",\n      \"localId\": \"\",\n      \"passwordHash\": \"\",\n      \"passwordUpdatedAt\": \"\",\n      \"phoneNumber\": \"\",\n      \"photoUrl\": \"\",\n      \"providerUserInfo\": [\n        {\n          \"displayName\": \"\",\n          \"email\": \"\",\n          \"federatedId\": \"\",\n          \"phoneNumber\": \"\",\n          \"photoUrl\": \"\",\n          \"providerId\": \"\",\n          \"rawId\": \"\",\n          \"screenName\": \"\"\n        }\n      ],\n      \"rawPassword\": \"\",\n      \"salt\": \"\",\n      \"screenName\": \"\",\n      \"validSince\": \"\",\n      \"version\": 0\n    }\n  ]\n}");
Request request = new Request.Builder()
  .url("{{baseUrl}}/uploadAccount")
  .post(body)
  .addHeader("content-type", "application/json")
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/uploadAccount")
  .header("content-type", "application/json")
  .body("{\n  \"allowOverwrite\": false,\n  \"blockSize\": 0,\n  \"cpuMemCost\": 0,\n  \"delegatedProjectNumber\": \"\",\n  \"dkLen\": 0,\n  \"hashAlgorithm\": \"\",\n  \"memoryCost\": 0,\n  \"parallelization\": 0,\n  \"rounds\": 0,\n  \"saltSeparator\": \"\",\n  \"sanityCheck\": false,\n  \"signerKey\": \"\",\n  \"targetProjectId\": \"\",\n  \"users\": [\n    {\n      \"createdAt\": \"\",\n      \"customAttributes\": \"\",\n      \"customAuth\": false,\n      \"disabled\": false,\n      \"displayName\": \"\",\n      \"email\": \"\",\n      \"emailVerified\": false,\n      \"lastLoginAt\": \"\",\n      \"localId\": \"\",\n      \"passwordHash\": \"\",\n      \"passwordUpdatedAt\": \"\",\n      \"phoneNumber\": \"\",\n      \"photoUrl\": \"\",\n      \"providerUserInfo\": [\n        {\n          \"displayName\": \"\",\n          \"email\": \"\",\n          \"federatedId\": \"\",\n          \"phoneNumber\": \"\",\n          \"photoUrl\": \"\",\n          \"providerId\": \"\",\n          \"rawId\": \"\",\n          \"screenName\": \"\"\n        }\n      ],\n      \"rawPassword\": \"\",\n      \"salt\": \"\",\n      \"screenName\": \"\",\n      \"validSince\": \"\",\n      \"version\": 0\n    }\n  ]\n}")
  .asString();
const data = JSON.stringify({
  allowOverwrite: false,
  blockSize: 0,
  cpuMemCost: 0,
  delegatedProjectNumber: '',
  dkLen: 0,
  hashAlgorithm: '',
  memoryCost: 0,
  parallelization: 0,
  rounds: 0,
  saltSeparator: '',
  sanityCheck: false,
  signerKey: '',
  targetProjectId: '',
  users: [
    {
      createdAt: '',
      customAttributes: '',
      customAuth: false,
      disabled: false,
      displayName: '',
      email: '',
      emailVerified: false,
      lastLoginAt: '',
      localId: '',
      passwordHash: '',
      passwordUpdatedAt: '',
      phoneNumber: '',
      photoUrl: '',
      providerUserInfo: [
        {
          displayName: '',
          email: '',
          federatedId: '',
          phoneNumber: '',
          photoUrl: '',
          providerId: '',
          rawId: '',
          screenName: ''
        }
      ],
      rawPassword: '',
      salt: '',
      screenName: '',
      validSince: '',
      version: 0
    }
  ]
});

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('POST', '{{baseUrl}}/uploadAccount');
xhr.setRequestHeader('content-type', 'application/json');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'POST',
  url: '{{baseUrl}}/uploadAccount',
  headers: {'content-type': 'application/json'},
  data: {
    allowOverwrite: false,
    blockSize: 0,
    cpuMemCost: 0,
    delegatedProjectNumber: '',
    dkLen: 0,
    hashAlgorithm: '',
    memoryCost: 0,
    parallelization: 0,
    rounds: 0,
    saltSeparator: '',
    sanityCheck: false,
    signerKey: '',
    targetProjectId: '',
    users: [
      {
        createdAt: '',
        customAttributes: '',
        customAuth: false,
        disabled: false,
        displayName: '',
        email: '',
        emailVerified: false,
        lastLoginAt: '',
        localId: '',
        passwordHash: '',
        passwordUpdatedAt: '',
        phoneNumber: '',
        photoUrl: '',
        providerUserInfo: [
          {
            displayName: '',
            email: '',
            federatedId: '',
            phoneNumber: '',
            photoUrl: '',
            providerId: '',
            rawId: '',
            screenName: ''
          }
        ],
        rawPassword: '',
        salt: '',
        screenName: '',
        validSince: '',
        version: 0
      }
    ]
  }
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/uploadAccount';
const options = {
  method: 'POST',
  headers: {'content-type': 'application/json'},
  body: '{"allowOverwrite":false,"blockSize":0,"cpuMemCost":0,"delegatedProjectNumber":"","dkLen":0,"hashAlgorithm":"","memoryCost":0,"parallelization":0,"rounds":0,"saltSeparator":"","sanityCheck":false,"signerKey":"","targetProjectId":"","users":[{"createdAt":"","customAttributes":"","customAuth":false,"disabled":false,"displayName":"","email":"","emailVerified":false,"lastLoginAt":"","localId":"","passwordHash":"","passwordUpdatedAt":"","phoneNumber":"","photoUrl":"","providerUserInfo":[{"displayName":"","email":"","federatedId":"","phoneNumber":"","photoUrl":"","providerId":"","rawId":"","screenName":""}],"rawPassword":"","salt":"","screenName":"","validSince":"","version":0}]}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/uploadAccount',
  method: 'POST',
  headers: {
    'content-type': 'application/json'
  },
  processData: false,
  data: '{\n  "allowOverwrite": false,\n  "blockSize": 0,\n  "cpuMemCost": 0,\n  "delegatedProjectNumber": "",\n  "dkLen": 0,\n  "hashAlgorithm": "",\n  "memoryCost": 0,\n  "parallelization": 0,\n  "rounds": 0,\n  "saltSeparator": "",\n  "sanityCheck": false,\n  "signerKey": "",\n  "targetProjectId": "",\n  "users": [\n    {\n      "createdAt": "",\n      "customAttributes": "",\n      "customAuth": false,\n      "disabled": false,\n      "displayName": "",\n      "email": "",\n      "emailVerified": false,\n      "lastLoginAt": "",\n      "localId": "",\n      "passwordHash": "",\n      "passwordUpdatedAt": "",\n      "phoneNumber": "",\n      "photoUrl": "",\n      "providerUserInfo": [\n        {\n          "displayName": "",\n          "email": "",\n          "federatedId": "",\n          "phoneNumber": "",\n          "photoUrl": "",\n          "providerId": "",\n          "rawId": "",\n          "screenName": ""\n        }\n      ],\n      "rawPassword": "",\n      "salt": "",\n      "screenName": "",\n      "validSince": "",\n      "version": 0\n    }\n  ]\n}'
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val mediaType = MediaType.parse("application/json")
val body = RequestBody.create(mediaType, "{\n  \"allowOverwrite\": false,\n  \"blockSize\": 0,\n  \"cpuMemCost\": 0,\n  \"delegatedProjectNumber\": \"\",\n  \"dkLen\": 0,\n  \"hashAlgorithm\": \"\",\n  \"memoryCost\": 0,\n  \"parallelization\": 0,\n  \"rounds\": 0,\n  \"saltSeparator\": \"\",\n  \"sanityCheck\": false,\n  \"signerKey\": \"\",\n  \"targetProjectId\": \"\",\n  \"users\": [\n    {\n      \"createdAt\": \"\",\n      \"customAttributes\": \"\",\n      \"customAuth\": false,\n      \"disabled\": false,\n      \"displayName\": \"\",\n      \"email\": \"\",\n      \"emailVerified\": false,\n      \"lastLoginAt\": \"\",\n      \"localId\": \"\",\n      \"passwordHash\": \"\",\n      \"passwordUpdatedAt\": \"\",\n      \"phoneNumber\": \"\",\n      \"photoUrl\": \"\",\n      \"providerUserInfo\": [\n        {\n          \"displayName\": \"\",\n          \"email\": \"\",\n          \"federatedId\": \"\",\n          \"phoneNumber\": \"\",\n          \"photoUrl\": \"\",\n          \"providerId\": \"\",\n          \"rawId\": \"\",\n          \"screenName\": \"\"\n        }\n      ],\n      \"rawPassword\": \"\",\n      \"salt\": \"\",\n      \"screenName\": \"\",\n      \"validSince\": \"\",\n      \"version\": 0\n    }\n  ]\n}")
val request = Request.Builder()
  .url("{{baseUrl}}/uploadAccount")
  .post(body)
  .addHeader("content-type", "application/json")
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'POST',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/uploadAccount',
  headers: {
    'content-type': 'application/json'
  }
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.write(JSON.stringify({
  allowOverwrite: false,
  blockSize: 0,
  cpuMemCost: 0,
  delegatedProjectNumber: '',
  dkLen: 0,
  hashAlgorithm: '',
  memoryCost: 0,
  parallelization: 0,
  rounds: 0,
  saltSeparator: '',
  sanityCheck: false,
  signerKey: '',
  targetProjectId: '',
  users: [
    {
      createdAt: '',
      customAttributes: '',
      customAuth: false,
      disabled: false,
      displayName: '',
      email: '',
      emailVerified: false,
      lastLoginAt: '',
      localId: '',
      passwordHash: '',
      passwordUpdatedAt: '',
      phoneNumber: '',
      photoUrl: '',
      providerUserInfo: [
        {
          displayName: '',
          email: '',
          federatedId: '',
          phoneNumber: '',
          photoUrl: '',
          providerId: '',
          rawId: '',
          screenName: ''
        }
      ],
      rawPassword: '',
      salt: '',
      screenName: '',
      validSince: '',
      version: 0
    }
  ]
}));
req.end();
const request = require('request');

const options = {
  method: 'POST',
  url: '{{baseUrl}}/uploadAccount',
  headers: {'content-type': 'application/json'},
  body: {
    allowOverwrite: false,
    blockSize: 0,
    cpuMemCost: 0,
    delegatedProjectNumber: '',
    dkLen: 0,
    hashAlgorithm: '',
    memoryCost: 0,
    parallelization: 0,
    rounds: 0,
    saltSeparator: '',
    sanityCheck: false,
    signerKey: '',
    targetProjectId: '',
    users: [
      {
        createdAt: '',
        customAttributes: '',
        customAuth: false,
        disabled: false,
        displayName: '',
        email: '',
        emailVerified: false,
        lastLoginAt: '',
        localId: '',
        passwordHash: '',
        passwordUpdatedAt: '',
        phoneNumber: '',
        photoUrl: '',
        providerUserInfo: [
          {
            displayName: '',
            email: '',
            federatedId: '',
            phoneNumber: '',
            photoUrl: '',
            providerId: '',
            rawId: '',
            screenName: ''
          }
        ],
        rawPassword: '',
        salt: '',
        screenName: '',
        validSince: '',
        version: 0
      }
    ]
  },
  json: true
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('POST', '{{baseUrl}}/uploadAccount');

req.headers({
  'content-type': 'application/json'
});

req.type('json');
req.send({
  allowOverwrite: false,
  blockSize: 0,
  cpuMemCost: 0,
  delegatedProjectNumber: '',
  dkLen: 0,
  hashAlgorithm: '',
  memoryCost: 0,
  parallelization: 0,
  rounds: 0,
  saltSeparator: '',
  sanityCheck: false,
  signerKey: '',
  targetProjectId: '',
  users: [
    {
      createdAt: '',
      customAttributes: '',
      customAuth: false,
      disabled: false,
      displayName: '',
      email: '',
      emailVerified: false,
      lastLoginAt: '',
      localId: '',
      passwordHash: '',
      passwordUpdatedAt: '',
      phoneNumber: '',
      photoUrl: '',
      providerUserInfo: [
        {
          displayName: '',
          email: '',
          federatedId: '',
          phoneNumber: '',
          photoUrl: '',
          providerId: '',
          rawId: '',
          screenName: ''
        }
      ],
      rawPassword: '',
      salt: '',
      screenName: '',
      validSince: '',
      version: 0
    }
  ]
});

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'POST',
  url: '{{baseUrl}}/uploadAccount',
  headers: {'content-type': 'application/json'},
  data: {
    allowOverwrite: false,
    blockSize: 0,
    cpuMemCost: 0,
    delegatedProjectNumber: '',
    dkLen: 0,
    hashAlgorithm: '',
    memoryCost: 0,
    parallelization: 0,
    rounds: 0,
    saltSeparator: '',
    sanityCheck: false,
    signerKey: '',
    targetProjectId: '',
    users: [
      {
        createdAt: '',
        customAttributes: '',
        customAuth: false,
        disabled: false,
        displayName: '',
        email: '',
        emailVerified: false,
        lastLoginAt: '',
        localId: '',
        passwordHash: '',
        passwordUpdatedAt: '',
        phoneNumber: '',
        photoUrl: '',
        providerUserInfo: [
          {
            displayName: '',
            email: '',
            federatedId: '',
            phoneNumber: '',
            photoUrl: '',
            providerId: '',
            rawId: '',
            screenName: ''
          }
        ],
        rawPassword: '',
        salt: '',
        screenName: '',
        validSince: '',
        version: 0
      }
    ]
  }
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/uploadAccount';
const options = {
  method: 'POST',
  headers: {'content-type': 'application/json'},
  body: '{"allowOverwrite":false,"blockSize":0,"cpuMemCost":0,"delegatedProjectNumber":"","dkLen":0,"hashAlgorithm":"","memoryCost":0,"parallelization":0,"rounds":0,"saltSeparator":"","sanityCheck":false,"signerKey":"","targetProjectId":"","users":[{"createdAt":"","customAttributes":"","customAuth":false,"disabled":false,"displayName":"","email":"","emailVerified":false,"lastLoginAt":"","localId":"","passwordHash":"","passwordUpdatedAt":"","phoneNumber":"","photoUrl":"","providerUserInfo":[{"displayName":"","email":"","federatedId":"","phoneNumber":"","photoUrl":"","providerId":"","rawId":"","screenName":""}],"rawPassword":"","salt":"","screenName":"","validSince":"","version":0}]}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSDictionary *headers = @{ @"content-type": @"application/json" };
NSDictionary *parameters = @{ @"allowOverwrite": @NO,
                              @"blockSize": @0,
                              @"cpuMemCost": @0,
                              @"delegatedProjectNumber": @"",
                              @"dkLen": @0,
                              @"hashAlgorithm": @"",
                              @"memoryCost": @0,
                              @"parallelization": @0,
                              @"rounds": @0,
                              @"saltSeparator": @"",
                              @"sanityCheck": @NO,
                              @"signerKey": @"",
                              @"targetProjectId": @"",
                              @"users": @[ @{ @"createdAt": @"", @"customAttributes": @"", @"customAuth": @NO, @"disabled": @NO, @"displayName": @"", @"email": @"", @"emailVerified": @NO, @"lastLoginAt": @"", @"localId": @"", @"passwordHash": @"", @"passwordUpdatedAt": @"", @"phoneNumber": @"", @"photoUrl": @"", @"providerUserInfo": @[ @{ @"displayName": @"", @"email": @"", @"federatedId": @"", @"phoneNumber": @"", @"photoUrl": @"", @"providerId": @"", @"rawId": @"", @"screenName": @"" } ], @"rawPassword": @"", @"salt": @"", @"screenName": @"", @"validSince": @"", @"version": @0 } ] };

NSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/uploadAccount"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
[request setAllHTTPHeaderFields:headers];
[request setHTTPBody:postData];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/uploadAccount" in
let headers = Header.add (Header.init ()) "content-type" "application/json" in
let body = Cohttp_lwt_body.of_string "{\n  \"allowOverwrite\": false,\n  \"blockSize\": 0,\n  \"cpuMemCost\": 0,\n  \"delegatedProjectNumber\": \"\",\n  \"dkLen\": 0,\n  \"hashAlgorithm\": \"\",\n  \"memoryCost\": 0,\n  \"parallelization\": 0,\n  \"rounds\": 0,\n  \"saltSeparator\": \"\",\n  \"sanityCheck\": false,\n  \"signerKey\": \"\",\n  \"targetProjectId\": \"\",\n  \"users\": [\n    {\n      \"createdAt\": \"\",\n      \"customAttributes\": \"\",\n      \"customAuth\": false,\n      \"disabled\": false,\n      \"displayName\": \"\",\n      \"email\": \"\",\n      \"emailVerified\": false,\n      \"lastLoginAt\": \"\",\n      \"localId\": \"\",\n      \"passwordHash\": \"\",\n      \"passwordUpdatedAt\": \"\",\n      \"phoneNumber\": \"\",\n      \"photoUrl\": \"\",\n      \"providerUserInfo\": [\n        {\n          \"displayName\": \"\",\n          \"email\": \"\",\n          \"federatedId\": \"\",\n          \"phoneNumber\": \"\",\n          \"photoUrl\": \"\",\n          \"providerId\": \"\",\n          \"rawId\": \"\",\n          \"screenName\": \"\"\n        }\n      ],\n      \"rawPassword\": \"\",\n      \"salt\": \"\",\n      \"screenName\": \"\",\n      \"validSince\": \"\",\n      \"version\": 0\n    }\n  ]\n}" in

Client.call ~headers ~body `POST uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/uploadAccount",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
  CURLOPT_POSTFIELDS => json_encode([
    'allowOverwrite' => null,
    'blockSize' => 0,
    'cpuMemCost' => 0,
    'delegatedProjectNumber' => '',
    'dkLen' => 0,
    'hashAlgorithm' => '',
    'memoryCost' => 0,
    'parallelization' => 0,
    'rounds' => 0,
    'saltSeparator' => '',
    'sanityCheck' => null,
    'signerKey' => '',
    'targetProjectId' => '',
    'users' => [
        [
                'createdAt' => '',
                'customAttributes' => '',
                'customAuth' => null,
                'disabled' => null,
                'displayName' => '',
                'email' => '',
                'emailVerified' => null,
                'lastLoginAt' => '',
                'localId' => '',
                'passwordHash' => '',
                'passwordUpdatedAt' => '',
                'phoneNumber' => '',
                'photoUrl' => '',
                'providerUserInfo' => [
                                [
                                                                'displayName' => '',
                                                                'email' => '',
                                                                'federatedId' => '',
                                                                'phoneNumber' => '',
                                                                'photoUrl' => '',
                                                                'providerId' => '',
                                                                'rawId' => '',
                                                                'screenName' => ''
                                ]
                ],
                'rawPassword' => '',
                'salt' => '',
                'screenName' => '',
                'validSince' => '',
                'version' => 0
        ]
    ]
  ]),
  CURLOPT_HTTPHEADER => [
    "content-type: application/json"
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('POST', '{{baseUrl}}/uploadAccount', [
  'body' => '{
  "allowOverwrite": false,
  "blockSize": 0,
  "cpuMemCost": 0,
  "delegatedProjectNumber": "",
  "dkLen": 0,
  "hashAlgorithm": "",
  "memoryCost": 0,
  "parallelization": 0,
  "rounds": 0,
  "saltSeparator": "",
  "sanityCheck": false,
  "signerKey": "",
  "targetProjectId": "",
  "users": [
    {
      "createdAt": "",
      "customAttributes": "",
      "customAuth": false,
      "disabled": false,
      "displayName": "",
      "email": "",
      "emailVerified": false,
      "lastLoginAt": "",
      "localId": "",
      "passwordHash": "",
      "passwordUpdatedAt": "",
      "phoneNumber": "",
      "photoUrl": "",
      "providerUserInfo": [
        {
          "displayName": "",
          "email": "",
          "federatedId": "",
          "phoneNumber": "",
          "photoUrl": "",
          "providerId": "",
          "rawId": "",
          "screenName": ""
        }
      ],
      "rawPassword": "",
      "salt": "",
      "screenName": "",
      "validSince": "",
      "version": 0
    }
  ]
}',
  'headers' => [
    'content-type' => 'application/json',
  ],
]);

echo $response->getBody();
setUrl('{{baseUrl}}/uploadAccount');
$request->setMethod(HTTP_METH_POST);

$request->setHeaders([
  'content-type' => 'application/json'
]);

$request->setContentType('application/json');
$request->setBody(json_encode([
  'allowOverwrite' => null,
  'blockSize' => 0,
  'cpuMemCost' => 0,
  'delegatedProjectNumber' => '',
  'dkLen' => 0,
  'hashAlgorithm' => '',
  'memoryCost' => 0,
  'parallelization' => 0,
  'rounds' => 0,
  'saltSeparator' => '',
  'sanityCheck' => null,
  'signerKey' => '',
  'targetProjectId' => '',
  'users' => [
    [
        'createdAt' => '',
        'customAttributes' => '',
        'customAuth' => null,
        'disabled' => null,
        'displayName' => '',
        'email' => '',
        'emailVerified' => null,
        'lastLoginAt' => '',
        'localId' => '',
        'passwordHash' => '',
        'passwordUpdatedAt' => '',
        'phoneNumber' => '',
        'photoUrl' => '',
        'providerUserInfo' => [
                [
                                'displayName' => '',
                                'email' => '',
                                'federatedId' => '',
                                'phoneNumber' => '',
                                'photoUrl' => '',
                                'providerId' => '',
                                'rawId' => '',
                                'screenName' => ''
                ]
        ],
        'rawPassword' => '',
        'salt' => '',
        'screenName' => '',
        'validSince' => '',
        'version' => 0
    ]
  ]
]));

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
append(json_encode([
  'allowOverwrite' => null,
  'blockSize' => 0,
  'cpuMemCost' => 0,
  'delegatedProjectNumber' => '',
  'dkLen' => 0,
  'hashAlgorithm' => '',
  'memoryCost' => 0,
  'parallelization' => 0,
  'rounds' => 0,
  'saltSeparator' => '',
  'sanityCheck' => null,
  'signerKey' => '',
  'targetProjectId' => '',
  'users' => [
    [
        'createdAt' => '',
        'customAttributes' => '',
        'customAuth' => null,
        'disabled' => null,
        'displayName' => '',
        'email' => '',
        'emailVerified' => null,
        'lastLoginAt' => '',
        'localId' => '',
        'passwordHash' => '',
        'passwordUpdatedAt' => '',
        'phoneNumber' => '',
        'photoUrl' => '',
        'providerUserInfo' => [
                [
                                'displayName' => '',
                                'email' => '',
                                'federatedId' => '',
                                'phoneNumber' => '',
                                'photoUrl' => '',
                                'providerId' => '',
                                'rawId' => '',
                                'screenName' => ''
                ]
        ],
        'rawPassword' => '',
        'salt' => '',
        'screenName' => '',
        'validSince' => '',
        'version' => 0
    ]
  ]
]));
$request->setRequestUrl('{{baseUrl}}/uploadAccount');
$request->setRequestMethod('POST');
$request->setBody($body);

$request->setHeaders([
  'content-type' => 'application/json'
]);

$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-WebRequest -Uri '{{baseUrl}}/uploadAccount' -Method POST -Headers $headers -ContentType 'application/json' -Body '{
  "allowOverwrite": false,
  "blockSize": 0,
  "cpuMemCost": 0,
  "delegatedProjectNumber": "",
  "dkLen": 0,
  "hashAlgorithm": "",
  "memoryCost": 0,
  "parallelization": 0,
  "rounds": 0,
  "saltSeparator": "",
  "sanityCheck": false,
  "signerKey": "",
  "targetProjectId": "",
  "users": [
    {
      "createdAt": "",
      "customAttributes": "",
      "customAuth": false,
      "disabled": false,
      "displayName": "",
      "email": "",
      "emailVerified": false,
      "lastLoginAt": "",
      "localId": "",
      "passwordHash": "",
      "passwordUpdatedAt": "",
      "phoneNumber": "",
      "photoUrl": "",
      "providerUserInfo": [
        {
          "displayName": "",
          "email": "",
          "federatedId": "",
          "phoneNumber": "",
          "photoUrl": "",
          "providerId": "",
          "rawId": "",
          "screenName": ""
        }
      ],
      "rawPassword": "",
      "salt": "",
      "screenName": "",
      "validSince": "",
      "version": 0
    }
  ]
}'
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-RestMethod -Uri '{{baseUrl}}/uploadAccount' -Method POST -Headers $headers -ContentType 'application/json' -Body '{
  "allowOverwrite": false,
  "blockSize": 0,
  "cpuMemCost": 0,
  "delegatedProjectNumber": "",
  "dkLen": 0,
  "hashAlgorithm": "",
  "memoryCost": 0,
  "parallelization": 0,
  "rounds": 0,
  "saltSeparator": "",
  "sanityCheck": false,
  "signerKey": "",
  "targetProjectId": "",
  "users": [
    {
      "createdAt": "",
      "customAttributes": "",
      "customAuth": false,
      "disabled": false,
      "displayName": "",
      "email": "",
      "emailVerified": false,
      "lastLoginAt": "",
      "localId": "",
      "passwordHash": "",
      "passwordUpdatedAt": "",
      "phoneNumber": "",
      "photoUrl": "",
      "providerUserInfo": [
        {
          "displayName": "",
          "email": "",
          "federatedId": "",
          "phoneNumber": "",
          "photoUrl": "",
          "providerId": "",
          "rawId": "",
          "screenName": ""
        }
      ],
      "rawPassword": "",
      "salt": "",
      "screenName": "",
      "validSince": "",
      "version": 0
    }
  ]
}'
import http.client

conn = http.client.HTTPSConnection("example.com")

payload = "{\n  \"allowOverwrite\": false,\n  \"blockSize\": 0,\n  \"cpuMemCost\": 0,\n  \"delegatedProjectNumber\": \"\",\n  \"dkLen\": 0,\n  \"hashAlgorithm\": \"\",\n  \"memoryCost\": 0,\n  \"parallelization\": 0,\n  \"rounds\": 0,\n  \"saltSeparator\": \"\",\n  \"sanityCheck\": false,\n  \"signerKey\": \"\",\n  \"targetProjectId\": \"\",\n  \"users\": [\n    {\n      \"createdAt\": \"\",\n      \"customAttributes\": \"\",\n      \"customAuth\": false,\n      \"disabled\": false,\n      \"displayName\": \"\",\n      \"email\": \"\",\n      \"emailVerified\": false,\n      \"lastLoginAt\": \"\",\n      \"localId\": \"\",\n      \"passwordHash\": \"\",\n      \"passwordUpdatedAt\": \"\",\n      \"phoneNumber\": \"\",\n      \"photoUrl\": \"\",\n      \"providerUserInfo\": [\n        {\n          \"displayName\": \"\",\n          \"email\": \"\",\n          \"federatedId\": \"\",\n          \"phoneNumber\": \"\",\n          \"photoUrl\": \"\",\n          \"providerId\": \"\",\n          \"rawId\": \"\",\n          \"screenName\": \"\"\n        }\n      ],\n      \"rawPassword\": \"\",\n      \"salt\": \"\",\n      \"screenName\": \"\",\n      \"validSince\": \"\",\n      \"version\": 0\n    }\n  ]\n}"

headers = { 'content-type': "application/json" }

conn.request("POST", "/baseUrl/uploadAccount", payload, headers)

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/uploadAccount"

payload = {
    "allowOverwrite": False,
    "blockSize": 0,
    "cpuMemCost": 0,
    "delegatedProjectNumber": "",
    "dkLen": 0,
    "hashAlgorithm": "",
    "memoryCost": 0,
    "parallelization": 0,
    "rounds": 0,
    "saltSeparator": "",
    "sanityCheck": False,
    "signerKey": "",
    "targetProjectId": "",
    "users": [
        {
            "createdAt": "",
            "customAttributes": "",
            "customAuth": False,
            "disabled": False,
            "displayName": "",
            "email": "",
            "emailVerified": False,
            "lastLoginAt": "",
            "localId": "",
            "passwordHash": "",
            "passwordUpdatedAt": "",
            "phoneNumber": "",
            "photoUrl": "",
            "providerUserInfo": [
                {
                    "displayName": "",
                    "email": "",
                    "federatedId": "",
                    "phoneNumber": "",
                    "photoUrl": "",
                    "providerId": "",
                    "rawId": "",
                    "screenName": ""
                }
            ],
            "rawPassword": "",
            "salt": "",
            "screenName": "",
            "validSince": "",
            "version": 0
        }
    ]
}
headers = {"content-type": "application/json"}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
library(httr)

url <- "{{baseUrl}}/uploadAccount"

payload <- "{\n  \"allowOverwrite\": false,\n  \"blockSize\": 0,\n  \"cpuMemCost\": 0,\n  \"delegatedProjectNumber\": \"\",\n  \"dkLen\": 0,\n  \"hashAlgorithm\": \"\",\n  \"memoryCost\": 0,\n  \"parallelization\": 0,\n  \"rounds\": 0,\n  \"saltSeparator\": \"\",\n  \"sanityCheck\": false,\n  \"signerKey\": \"\",\n  \"targetProjectId\": \"\",\n  \"users\": [\n    {\n      \"createdAt\": \"\",\n      \"customAttributes\": \"\",\n      \"customAuth\": false,\n      \"disabled\": false,\n      \"displayName\": \"\",\n      \"email\": \"\",\n      \"emailVerified\": false,\n      \"lastLoginAt\": \"\",\n      \"localId\": \"\",\n      \"passwordHash\": \"\",\n      \"passwordUpdatedAt\": \"\",\n      \"phoneNumber\": \"\",\n      \"photoUrl\": \"\",\n      \"providerUserInfo\": [\n        {\n          \"displayName\": \"\",\n          \"email\": \"\",\n          \"federatedId\": \"\",\n          \"phoneNumber\": \"\",\n          \"photoUrl\": \"\",\n          \"providerId\": \"\",\n          \"rawId\": \"\",\n          \"screenName\": \"\"\n        }\n      ],\n      \"rawPassword\": \"\",\n      \"salt\": \"\",\n      \"screenName\": \"\",\n      \"validSince\": \"\",\n      \"version\": 0\n    }\n  ]\n}"

encode <- "json"

response <- VERB("POST", url, body = payload, content_type("application/json"), encode = encode)

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/uploadAccount")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["content-type"] = 'application/json'
request.body = "{\n  \"allowOverwrite\": false,\n  \"blockSize\": 0,\n  \"cpuMemCost\": 0,\n  \"delegatedProjectNumber\": \"\",\n  \"dkLen\": 0,\n  \"hashAlgorithm\": \"\",\n  \"memoryCost\": 0,\n  \"parallelization\": 0,\n  \"rounds\": 0,\n  \"saltSeparator\": \"\",\n  \"sanityCheck\": false,\n  \"signerKey\": \"\",\n  \"targetProjectId\": \"\",\n  \"users\": [\n    {\n      \"createdAt\": \"\",\n      \"customAttributes\": \"\",\n      \"customAuth\": false,\n      \"disabled\": false,\n      \"displayName\": \"\",\n      \"email\": \"\",\n      \"emailVerified\": false,\n      \"lastLoginAt\": \"\",\n      \"localId\": \"\",\n      \"passwordHash\": \"\",\n      \"passwordUpdatedAt\": \"\",\n      \"phoneNumber\": \"\",\n      \"photoUrl\": \"\",\n      \"providerUserInfo\": [\n        {\n          \"displayName\": \"\",\n          \"email\": \"\",\n          \"federatedId\": \"\",\n          \"phoneNumber\": \"\",\n          \"photoUrl\": \"\",\n          \"providerId\": \"\",\n          \"rawId\": \"\",\n          \"screenName\": \"\"\n        }\n      ],\n      \"rawPassword\": \"\",\n      \"salt\": \"\",\n      \"screenName\": \"\",\n      \"validSince\": \"\",\n      \"version\": 0\n    }\n  ]\n}"

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
  headers: {'Content-Type' => 'application/json'}
)

response = conn.post('/baseUrl/uploadAccount') do |req|
  req.body = "{\n  \"allowOverwrite\": false,\n  \"blockSize\": 0,\n  \"cpuMemCost\": 0,\n  \"delegatedProjectNumber\": \"\",\n  \"dkLen\": 0,\n  \"hashAlgorithm\": \"\",\n  \"memoryCost\": 0,\n  \"parallelization\": 0,\n  \"rounds\": 0,\n  \"saltSeparator\": \"\",\n  \"sanityCheck\": false,\n  \"signerKey\": \"\",\n  \"targetProjectId\": \"\",\n  \"users\": [\n    {\n      \"createdAt\": \"\",\n      \"customAttributes\": \"\",\n      \"customAuth\": false,\n      \"disabled\": false,\n      \"displayName\": \"\",\n      \"email\": \"\",\n      \"emailVerified\": false,\n      \"lastLoginAt\": \"\",\n      \"localId\": \"\",\n      \"passwordHash\": \"\",\n      \"passwordUpdatedAt\": \"\",\n      \"phoneNumber\": \"\",\n      \"photoUrl\": \"\",\n      \"providerUserInfo\": [\n        {\n          \"displayName\": \"\",\n          \"email\": \"\",\n          \"federatedId\": \"\",\n          \"phoneNumber\": \"\",\n          \"photoUrl\": \"\",\n          \"providerId\": \"\",\n          \"rawId\": \"\",\n          \"screenName\": \"\"\n        }\n      ],\n      \"rawPassword\": \"\",\n      \"salt\": \"\",\n      \"screenName\": \"\",\n      \"validSince\": \"\",\n      \"version\": 0\n    }\n  ]\n}"
end

puts response.status
puts response.body
use serde_json::json;
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/uploadAccount";

    let payload = json!({
        "allowOverwrite": false,
        "blockSize": 0,
        "cpuMemCost": 0,
        "delegatedProjectNumber": "",
        "dkLen": 0,
        "hashAlgorithm": "",
        "memoryCost": 0,
        "parallelization": 0,
        "rounds": 0,
        "saltSeparator": "",
        "sanityCheck": false,
        "signerKey": "",
        "targetProjectId": "",
        "users": (
            json!({
                "createdAt": "",
                "customAttributes": "",
                "customAuth": false,
                "disabled": false,
                "displayName": "",
                "email": "",
                "emailVerified": false,
                "lastLoginAt": "",
                "localId": "",
                "passwordHash": "",
                "passwordUpdatedAt": "",
                "phoneNumber": "",
                "photoUrl": "",
                "providerUserInfo": (
                    json!({
                        "displayName": "",
                        "email": "",
                        "federatedId": "",
                        "phoneNumber": "",
                        "photoUrl": "",
                        "providerId": "",
                        "rawId": "",
                        "screenName": ""
                    })
                ),
                "rawPassword": "",
                "salt": "",
                "screenName": "",
                "validSince": "",
                "version": 0
            })
        )
    });

    let mut headers = reqwest::header::HeaderMap::new();
    headers.insert("content-type", "application/json".parse().unwrap());

    let client = reqwest::Client::new();
    let response = client.post(url)
        .headers(headers)
        .json(&payload)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request POST \
  --url {{baseUrl}}/uploadAccount \
  --header 'content-type: application/json' \
  --data '{
  "allowOverwrite": false,
  "blockSize": 0,
  "cpuMemCost": 0,
  "delegatedProjectNumber": "",
  "dkLen": 0,
  "hashAlgorithm": "",
  "memoryCost": 0,
  "parallelization": 0,
  "rounds": 0,
  "saltSeparator": "",
  "sanityCheck": false,
  "signerKey": "",
  "targetProjectId": "",
  "users": [
    {
      "createdAt": "",
      "customAttributes": "",
      "customAuth": false,
      "disabled": false,
      "displayName": "",
      "email": "",
      "emailVerified": false,
      "lastLoginAt": "",
      "localId": "",
      "passwordHash": "",
      "passwordUpdatedAt": "",
      "phoneNumber": "",
      "photoUrl": "",
      "providerUserInfo": [
        {
          "displayName": "",
          "email": "",
          "federatedId": "",
          "phoneNumber": "",
          "photoUrl": "",
          "providerId": "",
          "rawId": "",
          "screenName": ""
        }
      ],
      "rawPassword": "",
      "salt": "",
      "screenName": "",
      "validSince": "",
      "version": 0
    }
  ]
}'
echo '{
  "allowOverwrite": false,
  "blockSize": 0,
  "cpuMemCost": 0,
  "delegatedProjectNumber": "",
  "dkLen": 0,
  "hashAlgorithm": "",
  "memoryCost": 0,
  "parallelization": 0,
  "rounds": 0,
  "saltSeparator": "",
  "sanityCheck": false,
  "signerKey": "",
  "targetProjectId": "",
  "users": [
    {
      "createdAt": "",
      "customAttributes": "",
      "customAuth": false,
      "disabled": false,
      "displayName": "",
      "email": "",
      "emailVerified": false,
      "lastLoginAt": "",
      "localId": "",
      "passwordHash": "",
      "passwordUpdatedAt": "",
      "phoneNumber": "",
      "photoUrl": "",
      "providerUserInfo": [
        {
          "displayName": "",
          "email": "",
          "federatedId": "",
          "phoneNumber": "",
          "photoUrl": "",
          "providerId": "",
          "rawId": "",
          "screenName": ""
        }
      ],
      "rawPassword": "",
      "salt": "",
      "screenName": "",
      "validSince": "",
      "version": 0
    }
  ]
}' |  \
  http POST {{baseUrl}}/uploadAccount \
  content-type:application/json
wget --quiet \
  --method POST \
  --header 'content-type: application/json' \
  --body-data '{\n  "allowOverwrite": false,\n  "blockSize": 0,\n  "cpuMemCost": 0,\n  "delegatedProjectNumber": "",\n  "dkLen": 0,\n  "hashAlgorithm": "",\n  "memoryCost": 0,\n  "parallelization": 0,\n  "rounds": 0,\n  "saltSeparator": "",\n  "sanityCheck": false,\n  "signerKey": "",\n  "targetProjectId": "",\n  "users": [\n    {\n      "createdAt": "",\n      "customAttributes": "",\n      "customAuth": false,\n      "disabled": false,\n      "displayName": "",\n      "email": "",\n      "emailVerified": false,\n      "lastLoginAt": "",\n      "localId": "",\n      "passwordHash": "",\n      "passwordUpdatedAt": "",\n      "phoneNumber": "",\n      "photoUrl": "",\n      "providerUserInfo": [\n        {\n          "displayName": "",\n          "email": "",\n          "federatedId": "",\n          "phoneNumber": "",\n          "photoUrl": "",\n          "providerId": "",\n          "rawId": "",\n          "screenName": ""\n        }\n      ],\n      "rawPassword": "",\n      "salt": "",\n      "screenName": "",\n      "validSince": "",\n      "version": 0\n    }\n  ]\n}' \
  --output-document \
  - {{baseUrl}}/uploadAccount
import Foundation

let headers = ["content-type": "application/json"]
let parameters = [
  "allowOverwrite": false,
  "blockSize": 0,
  "cpuMemCost": 0,
  "delegatedProjectNumber": "",
  "dkLen": 0,
  "hashAlgorithm": "",
  "memoryCost": 0,
  "parallelization": 0,
  "rounds": 0,
  "saltSeparator": "",
  "sanityCheck": false,
  "signerKey": "",
  "targetProjectId": "",
  "users": [
    [
      "createdAt": "",
      "customAttributes": "",
      "customAuth": false,
      "disabled": false,
      "displayName": "",
      "email": "",
      "emailVerified": false,
      "lastLoginAt": "",
      "localId": "",
      "passwordHash": "",
      "passwordUpdatedAt": "",
      "phoneNumber": "",
      "photoUrl": "",
      "providerUserInfo": [
        [
          "displayName": "",
          "email": "",
          "federatedId": "",
          "phoneNumber": "",
          "photoUrl": "",
          "providerId": "",
          "rawId": "",
          "screenName": ""
        ]
      ],
      "rawPassword": "",
      "salt": "",
      "screenName": "",
      "validSince": "",
      "version": 0
    ]
  ]
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/uploadAccount")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
POST identitytoolkit.relyingparty.verifyAssertion
{{baseUrl}}/verifyAssertion
BODY json

{
  "autoCreate": false,
  "delegatedProjectNumber": "",
  "idToken": "",
  "instanceId": "",
  "pendingIdToken": "",
  "postBody": "",
  "requestUri": "",
  "returnIdpCredential": false,
  "returnRefreshToken": false,
  "returnSecureToken": false,
  "sessionId": "",
  "tenantId": "",
  "tenantProjectNumber": ""
}
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/verifyAssertion");

struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "content-type: application/json");
curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);

curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, "{\n  \"autoCreate\": false,\n  \"delegatedProjectNumber\": \"\",\n  \"idToken\": \"\",\n  \"instanceId\": \"\",\n  \"pendingIdToken\": \"\",\n  \"postBody\": \"\",\n  \"requestUri\": \"\",\n  \"returnIdpCredential\": false,\n  \"returnRefreshToken\": false,\n  \"returnSecureToken\": false,\n  \"sessionId\": \"\",\n  \"tenantId\": \"\",\n  \"tenantProjectNumber\": \"\"\n}");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/post "{{baseUrl}}/verifyAssertion" {:content-type :json
                                                            :form-params {:autoCreate false
                                                                          :delegatedProjectNumber ""
                                                                          :idToken ""
                                                                          :instanceId ""
                                                                          :pendingIdToken ""
                                                                          :postBody ""
                                                                          :requestUri ""
                                                                          :returnIdpCredential false
                                                                          :returnRefreshToken false
                                                                          :returnSecureToken false
                                                                          :sessionId ""
                                                                          :tenantId ""
                                                                          :tenantProjectNumber ""}})
require "http/client"

url = "{{baseUrl}}/verifyAssertion"
headers = HTTP::Headers{
  "content-type" => "application/json"
}
reqBody = "{\n  \"autoCreate\": false,\n  \"delegatedProjectNumber\": \"\",\n  \"idToken\": \"\",\n  \"instanceId\": \"\",\n  \"pendingIdToken\": \"\",\n  \"postBody\": \"\",\n  \"requestUri\": \"\",\n  \"returnIdpCredential\": false,\n  \"returnRefreshToken\": false,\n  \"returnSecureToken\": false,\n  \"sessionId\": \"\",\n  \"tenantId\": \"\",\n  \"tenantProjectNumber\": \"\"\n}"

response = HTTP::Client.post url, headers: headers, body: reqBody
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Post,
    RequestUri = new Uri("{{baseUrl}}/verifyAssertion"),
    Content = new StringContent("{\n  \"autoCreate\": false,\n  \"delegatedProjectNumber\": \"\",\n  \"idToken\": \"\",\n  \"instanceId\": \"\",\n  \"pendingIdToken\": \"\",\n  \"postBody\": \"\",\n  \"requestUri\": \"\",\n  \"returnIdpCredential\": false,\n  \"returnRefreshToken\": false,\n  \"returnSecureToken\": false,\n  \"sessionId\": \"\",\n  \"tenantId\": \"\",\n  \"tenantProjectNumber\": \"\"\n}")
    {
        Headers =
        {
            ContentType = new MediaTypeHeaderValue("application/json")
        }
    }
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/verifyAssertion");
var request = new RestRequest("", Method.Post);
request.AddHeader("content-type", "application/json");
request.AddParameter("application/json", "{\n  \"autoCreate\": false,\n  \"delegatedProjectNumber\": \"\",\n  \"idToken\": \"\",\n  \"instanceId\": \"\",\n  \"pendingIdToken\": \"\",\n  \"postBody\": \"\",\n  \"requestUri\": \"\",\n  \"returnIdpCredential\": false,\n  \"returnRefreshToken\": false,\n  \"returnSecureToken\": false,\n  \"sessionId\": \"\",\n  \"tenantId\": \"\",\n  \"tenantProjectNumber\": \"\"\n}", ParameterType.RequestBody);
var response = client.Execute(request);
package main

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

func main() {

	url := "{{baseUrl}}/verifyAssertion"

	payload := strings.NewReader("{\n  \"autoCreate\": false,\n  \"delegatedProjectNumber\": \"\",\n  \"idToken\": \"\",\n  \"instanceId\": \"\",\n  \"pendingIdToken\": \"\",\n  \"postBody\": \"\",\n  \"requestUri\": \"\",\n  \"returnIdpCredential\": false,\n  \"returnRefreshToken\": false,\n  \"returnSecureToken\": false,\n  \"sessionId\": \"\",\n  \"tenantId\": \"\",\n  \"tenantProjectNumber\": \"\"\n}")

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

	req.Header.Add("content-type", "application/json")

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

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

	fmt.Println(res)
	fmt.Println(string(body))

}
POST /baseUrl/verifyAssertion HTTP/1.1
Content-Type: application/json
Host: example.com
Content-Length: 315

{
  "autoCreate": false,
  "delegatedProjectNumber": "",
  "idToken": "",
  "instanceId": "",
  "pendingIdToken": "",
  "postBody": "",
  "requestUri": "",
  "returnIdpCredential": false,
  "returnRefreshToken": false,
  "returnSecureToken": false,
  "sessionId": "",
  "tenantId": "",
  "tenantProjectNumber": ""
}
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/verifyAssertion")
  .setHeader("content-type", "application/json")
  .setBody("{\n  \"autoCreate\": false,\n  \"delegatedProjectNumber\": \"\",\n  \"idToken\": \"\",\n  \"instanceId\": \"\",\n  \"pendingIdToken\": \"\",\n  \"postBody\": \"\",\n  \"requestUri\": \"\",\n  \"returnIdpCredential\": false,\n  \"returnRefreshToken\": false,\n  \"returnSecureToken\": false,\n  \"sessionId\": \"\",\n  \"tenantId\": \"\",\n  \"tenantProjectNumber\": \"\"\n}")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/verifyAssertion"))
    .header("content-type", "application/json")
    .method("POST", HttpRequest.BodyPublishers.ofString("{\n  \"autoCreate\": false,\n  \"delegatedProjectNumber\": \"\",\n  \"idToken\": \"\",\n  \"instanceId\": \"\",\n  \"pendingIdToken\": \"\",\n  \"postBody\": \"\",\n  \"requestUri\": \"\",\n  \"returnIdpCredential\": false,\n  \"returnRefreshToken\": false,\n  \"returnSecureToken\": false,\n  \"sessionId\": \"\",\n  \"tenantId\": \"\",\n  \"tenantProjectNumber\": \"\"\n}"))
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n  \"autoCreate\": false,\n  \"delegatedProjectNumber\": \"\",\n  \"idToken\": \"\",\n  \"instanceId\": \"\",\n  \"pendingIdToken\": \"\",\n  \"postBody\": \"\",\n  \"requestUri\": \"\",\n  \"returnIdpCredential\": false,\n  \"returnRefreshToken\": false,\n  \"returnSecureToken\": false,\n  \"sessionId\": \"\",\n  \"tenantId\": \"\",\n  \"tenantProjectNumber\": \"\"\n}");
Request request = new Request.Builder()
  .url("{{baseUrl}}/verifyAssertion")
  .post(body)
  .addHeader("content-type", "application/json")
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/verifyAssertion")
  .header("content-type", "application/json")
  .body("{\n  \"autoCreate\": false,\n  \"delegatedProjectNumber\": \"\",\n  \"idToken\": \"\",\n  \"instanceId\": \"\",\n  \"pendingIdToken\": \"\",\n  \"postBody\": \"\",\n  \"requestUri\": \"\",\n  \"returnIdpCredential\": false,\n  \"returnRefreshToken\": false,\n  \"returnSecureToken\": false,\n  \"sessionId\": \"\",\n  \"tenantId\": \"\",\n  \"tenantProjectNumber\": \"\"\n}")
  .asString();
const data = JSON.stringify({
  autoCreate: false,
  delegatedProjectNumber: '',
  idToken: '',
  instanceId: '',
  pendingIdToken: '',
  postBody: '',
  requestUri: '',
  returnIdpCredential: false,
  returnRefreshToken: false,
  returnSecureToken: false,
  sessionId: '',
  tenantId: '',
  tenantProjectNumber: ''
});

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('POST', '{{baseUrl}}/verifyAssertion');
xhr.setRequestHeader('content-type', 'application/json');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'POST',
  url: '{{baseUrl}}/verifyAssertion',
  headers: {'content-type': 'application/json'},
  data: {
    autoCreate: false,
    delegatedProjectNumber: '',
    idToken: '',
    instanceId: '',
    pendingIdToken: '',
    postBody: '',
    requestUri: '',
    returnIdpCredential: false,
    returnRefreshToken: false,
    returnSecureToken: false,
    sessionId: '',
    tenantId: '',
    tenantProjectNumber: ''
  }
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/verifyAssertion';
const options = {
  method: 'POST',
  headers: {'content-type': 'application/json'},
  body: '{"autoCreate":false,"delegatedProjectNumber":"","idToken":"","instanceId":"","pendingIdToken":"","postBody":"","requestUri":"","returnIdpCredential":false,"returnRefreshToken":false,"returnSecureToken":false,"sessionId":"","tenantId":"","tenantProjectNumber":""}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/verifyAssertion',
  method: 'POST',
  headers: {
    'content-type': 'application/json'
  },
  processData: false,
  data: '{\n  "autoCreate": false,\n  "delegatedProjectNumber": "",\n  "idToken": "",\n  "instanceId": "",\n  "pendingIdToken": "",\n  "postBody": "",\n  "requestUri": "",\n  "returnIdpCredential": false,\n  "returnRefreshToken": false,\n  "returnSecureToken": false,\n  "sessionId": "",\n  "tenantId": "",\n  "tenantProjectNumber": ""\n}'
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val mediaType = MediaType.parse("application/json")
val body = RequestBody.create(mediaType, "{\n  \"autoCreate\": false,\n  \"delegatedProjectNumber\": \"\",\n  \"idToken\": \"\",\n  \"instanceId\": \"\",\n  \"pendingIdToken\": \"\",\n  \"postBody\": \"\",\n  \"requestUri\": \"\",\n  \"returnIdpCredential\": false,\n  \"returnRefreshToken\": false,\n  \"returnSecureToken\": false,\n  \"sessionId\": \"\",\n  \"tenantId\": \"\",\n  \"tenantProjectNumber\": \"\"\n}")
val request = Request.Builder()
  .url("{{baseUrl}}/verifyAssertion")
  .post(body)
  .addHeader("content-type", "application/json")
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'POST',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/verifyAssertion',
  headers: {
    'content-type': 'application/json'
  }
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.write(JSON.stringify({
  autoCreate: false,
  delegatedProjectNumber: '',
  idToken: '',
  instanceId: '',
  pendingIdToken: '',
  postBody: '',
  requestUri: '',
  returnIdpCredential: false,
  returnRefreshToken: false,
  returnSecureToken: false,
  sessionId: '',
  tenantId: '',
  tenantProjectNumber: ''
}));
req.end();
const request = require('request');

const options = {
  method: 'POST',
  url: '{{baseUrl}}/verifyAssertion',
  headers: {'content-type': 'application/json'},
  body: {
    autoCreate: false,
    delegatedProjectNumber: '',
    idToken: '',
    instanceId: '',
    pendingIdToken: '',
    postBody: '',
    requestUri: '',
    returnIdpCredential: false,
    returnRefreshToken: false,
    returnSecureToken: false,
    sessionId: '',
    tenantId: '',
    tenantProjectNumber: ''
  },
  json: true
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('POST', '{{baseUrl}}/verifyAssertion');

req.headers({
  'content-type': 'application/json'
});

req.type('json');
req.send({
  autoCreate: false,
  delegatedProjectNumber: '',
  idToken: '',
  instanceId: '',
  pendingIdToken: '',
  postBody: '',
  requestUri: '',
  returnIdpCredential: false,
  returnRefreshToken: false,
  returnSecureToken: false,
  sessionId: '',
  tenantId: '',
  tenantProjectNumber: ''
});

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'POST',
  url: '{{baseUrl}}/verifyAssertion',
  headers: {'content-type': 'application/json'},
  data: {
    autoCreate: false,
    delegatedProjectNumber: '',
    idToken: '',
    instanceId: '',
    pendingIdToken: '',
    postBody: '',
    requestUri: '',
    returnIdpCredential: false,
    returnRefreshToken: false,
    returnSecureToken: false,
    sessionId: '',
    tenantId: '',
    tenantProjectNumber: ''
  }
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/verifyAssertion';
const options = {
  method: 'POST',
  headers: {'content-type': 'application/json'},
  body: '{"autoCreate":false,"delegatedProjectNumber":"","idToken":"","instanceId":"","pendingIdToken":"","postBody":"","requestUri":"","returnIdpCredential":false,"returnRefreshToken":false,"returnSecureToken":false,"sessionId":"","tenantId":"","tenantProjectNumber":""}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSDictionary *headers = @{ @"content-type": @"application/json" };
NSDictionary *parameters = @{ @"autoCreate": @NO,
                              @"delegatedProjectNumber": @"",
                              @"idToken": @"",
                              @"instanceId": @"",
                              @"pendingIdToken": @"",
                              @"postBody": @"",
                              @"requestUri": @"",
                              @"returnIdpCredential": @NO,
                              @"returnRefreshToken": @NO,
                              @"returnSecureToken": @NO,
                              @"sessionId": @"",
                              @"tenantId": @"",
                              @"tenantProjectNumber": @"" };

NSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/verifyAssertion"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
[request setAllHTTPHeaderFields:headers];
[request setHTTPBody:postData];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/verifyAssertion" in
let headers = Header.add (Header.init ()) "content-type" "application/json" in
let body = Cohttp_lwt_body.of_string "{\n  \"autoCreate\": false,\n  \"delegatedProjectNumber\": \"\",\n  \"idToken\": \"\",\n  \"instanceId\": \"\",\n  \"pendingIdToken\": \"\",\n  \"postBody\": \"\",\n  \"requestUri\": \"\",\n  \"returnIdpCredential\": false,\n  \"returnRefreshToken\": false,\n  \"returnSecureToken\": false,\n  \"sessionId\": \"\",\n  \"tenantId\": \"\",\n  \"tenantProjectNumber\": \"\"\n}" in

Client.call ~headers ~body `POST uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/verifyAssertion",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
  CURLOPT_POSTFIELDS => json_encode([
    'autoCreate' => null,
    'delegatedProjectNumber' => '',
    'idToken' => '',
    'instanceId' => '',
    'pendingIdToken' => '',
    'postBody' => '',
    'requestUri' => '',
    'returnIdpCredential' => null,
    'returnRefreshToken' => null,
    'returnSecureToken' => null,
    'sessionId' => '',
    'tenantId' => '',
    'tenantProjectNumber' => ''
  ]),
  CURLOPT_HTTPHEADER => [
    "content-type: application/json"
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('POST', '{{baseUrl}}/verifyAssertion', [
  'body' => '{
  "autoCreate": false,
  "delegatedProjectNumber": "",
  "idToken": "",
  "instanceId": "",
  "pendingIdToken": "",
  "postBody": "",
  "requestUri": "",
  "returnIdpCredential": false,
  "returnRefreshToken": false,
  "returnSecureToken": false,
  "sessionId": "",
  "tenantId": "",
  "tenantProjectNumber": ""
}',
  'headers' => [
    'content-type' => 'application/json',
  ],
]);

echo $response->getBody();
setUrl('{{baseUrl}}/verifyAssertion');
$request->setMethod(HTTP_METH_POST);

$request->setHeaders([
  'content-type' => 'application/json'
]);

$request->setContentType('application/json');
$request->setBody(json_encode([
  'autoCreate' => null,
  'delegatedProjectNumber' => '',
  'idToken' => '',
  'instanceId' => '',
  'pendingIdToken' => '',
  'postBody' => '',
  'requestUri' => '',
  'returnIdpCredential' => null,
  'returnRefreshToken' => null,
  'returnSecureToken' => null,
  'sessionId' => '',
  'tenantId' => '',
  'tenantProjectNumber' => ''
]));

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
append(json_encode([
  'autoCreate' => null,
  'delegatedProjectNumber' => '',
  'idToken' => '',
  'instanceId' => '',
  'pendingIdToken' => '',
  'postBody' => '',
  'requestUri' => '',
  'returnIdpCredential' => null,
  'returnRefreshToken' => null,
  'returnSecureToken' => null,
  'sessionId' => '',
  'tenantId' => '',
  'tenantProjectNumber' => ''
]));
$request->setRequestUrl('{{baseUrl}}/verifyAssertion');
$request->setRequestMethod('POST');
$request->setBody($body);

$request->setHeaders([
  'content-type' => 'application/json'
]);

$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-WebRequest -Uri '{{baseUrl}}/verifyAssertion' -Method POST -Headers $headers -ContentType 'application/json' -Body '{
  "autoCreate": false,
  "delegatedProjectNumber": "",
  "idToken": "",
  "instanceId": "",
  "pendingIdToken": "",
  "postBody": "",
  "requestUri": "",
  "returnIdpCredential": false,
  "returnRefreshToken": false,
  "returnSecureToken": false,
  "sessionId": "",
  "tenantId": "",
  "tenantProjectNumber": ""
}'
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-RestMethod -Uri '{{baseUrl}}/verifyAssertion' -Method POST -Headers $headers -ContentType 'application/json' -Body '{
  "autoCreate": false,
  "delegatedProjectNumber": "",
  "idToken": "",
  "instanceId": "",
  "pendingIdToken": "",
  "postBody": "",
  "requestUri": "",
  "returnIdpCredential": false,
  "returnRefreshToken": false,
  "returnSecureToken": false,
  "sessionId": "",
  "tenantId": "",
  "tenantProjectNumber": ""
}'
import http.client

conn = http.client.HTTPSConnection("example.com")

payload = "{\n  \"autoCreate\": false,\n  \"delegatedProjectNumber\": \"\",\n  \"idToken\": \"\",\n  \"instanceId\": \"\",\n  \"pendingIdToken\": \"\",\n  \"postBody\": \"\",\n  \"requestUri\": \"\",\n  \"returnIdpCredential\": false,\n  \"returnRefreshToken\": false,\n  \"returnSecureToken\": false,\n  \"sessionId\": \"\",\n  \"tenantId\": \"\",\n  \"tenantProjectNumber\": \"\"\n}"

headers = { 'content-type': "application/json" }

conn.request("POST", "/baseUrl/verifyAssertion", payload, headers)

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/verifyAssertion"

payload = {
    "autoCreate": False,
    "delegatedProjectNumber": "",
    "idToken": "",
    "instanceId": "",
    "pendingIdToken": "",
    "postBody": "",
    "requestUri": "",
    "returnIdpCredential": False,
    "returnRefreshToken": False,
    "returnSecureToken": False,
    "sessionId": "",
    "tenantId": "",
    "tenantProjectNumber": ""
}
headers = {"content-type": "application/json"}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
library(httr)

url <- "{{baseUrl}}/verifyAssertion"

payload <- "{\n  \"autoCreate\": false,\n  \"delegatedProjectNumber\": \"\",\n  \"idToken\": \"\",\n  \"instanceId\": \"\",\n  \"pendingIdToken\": \"\",\n  \"postBody\": \"\",\n  \"requestUri\": \"\",\n  \"returnIdpCredential\": false,\n  \"returnRefreshToken\": false,\n  \"returnSecureToken\": false,\n  \"sessionId\": \"\",\n  \"tenantId\": \"\",\n  \"tenantProjectNumber\": \"\"\n}"

encode <- "json"

response <- VERB("POST", url, body = payload, content_type("application/json"), encode = encode)

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/verifyAssertion")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["content-type"] = 'application/json'
request.body = "{\n  \"autoCreate\": false,\n  \"delegatedProjectNumber\": \"\",\n  \"idToken\": \"\",\n  \"instanceId\": \"\",\n  \"pendingIdToken\": \"\",\n  \"postBody\": \"\",\n  \"requestUri\": \"\",\n  \"returnIdpCredential\": false,\n  \"returnRefreshToken\": false,\n  \"returnSecureToken\": false,\n  \"sessionId\": \"\",\n  \"tenantId\": \"\",\n  \"tenantProjectNumber\": \"\"\n}"

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
  headers: {'Content-Type' => 'application/json'}
)

response = conn.post('/baseUrl/verifyAssertion') do |req|
  req.body = "{\n  \"autoCreate\": false,\n  \"delegatedProjectNumber\": \"\",\n  \"idToken\": \"\",\n  \"instanceId\": \"\",\n  \"pendingIdToken\": \"\",\n  \"postBody\": \"\",\n  \"requestUri\": \"\",\n  \"returnIdpCredential\": false,\n  \"returnRefreshToken\": false,\n  \"returnSecureToken\": false,\n  \"sessionId\": \"\",\n  \"tenantId\": \"\",\n  \"tenantProjectNumber\": \"\"\n}"
end

puts response.status
puts response.body
use serde_json::json;
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/verifyAssertion";

    let payload = json!({
        "autoCreate": false,
        "delegatedProjectNumber": "",
        "idToken": "",
        "instanceId": "",
        "pendingIdToken": "",
        "postBody": "",
        "requestUri": "",
        "returnIdpCredential": false,
        "returnRefreshToken": false,
        "returnSecureToken": false,
        "sessionId": "",
        "tenantId": "",
        "tenantProjectNumber": ""
    });

    let mut headers = reqwest::header::HeaderMap::new();
    headers.insert("content-type", "application/json".parse().unwrap());

    let client = reqwest::Client::new();
    let response = client.post(url)
        .headers(headers)
        .json(&payload)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request POST \
  --url {{baseUrl}}/verifyAssertion \
  --header 'content-type: application/json' \
  --data '{
  "autoCreate": false,
  "delegatedProjectNumber": "",
  "idToken": "",
  "instanceId": "",
  "pendingIdToken": "",
  "postBody": "",
  "requestUri": "",
  "returnIdpCredential": false,
  "returnRefreshToken": false,
  "returnSecureToken": false,
  "sessionId": "",
  "tenantId": "",
  "tenantProjectNumber": ""
}'
echo '{
  "autoCreate": false,
  "delegatedProjectNumber": "",
  "idToken": "",
  "instanceId": "",
  "pendingIdToken": "",
  "postBody": "",
  "requestUri": "",
  "returnIdpCredential": false,
  "returnRefreshToken": false,
  "returnSecureToken": false,
  "sessionId": "",
  "tenantId": "",
  "tenantProjectNumber": ""
}' |  \
  http POST {{baseUrl}}/verifyAssertion \
  content-type:application/json
wget --quiet \
  --method POST \
  --header 'content-type: application/json' \
  --body-data '{\n  "autoCreate": false,\n  "delegatedProjectNumber": "",\n  "idToken": "",\n  "instanceId": "",\n  "pendingIdToken": "",\n  "postBody": "",\n  "requestUri": "",\n  "returnIdpCredential": false,\n  "returnRefreshToken": false,\n  "returnSecureToken": false,\n  "sessionId": "",\n  "tenantId": "",\n  "tenantProjectNumber": ""\n}' \
  --output-document \
  - {{baseUrl}}/verifyAssertion
import Foundation

let headers = ["content-type": "application/json"]
let parameters = [
  "autoCreate": false,
  "delegatedProjectNumber": "",
  "idToken": "",
  "instanceId": "",
  "pendingIdToken": "",
  "postBody": "",
  "requestUri": "",
  "returnIdpCredential": false,
  "returnRefreshToken": false,
  "returnSecureToken": false,
  "sessionId": "",
  "tenantId": "",
  "tenantProjectNumber": ""
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/verifyAssertion")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
POST identitytoolkit.relyingparty.verifyCustomToken
{{baseUrl}}/verifyCustomToken
BODY json

{
  "delegatedProjectNumber": "",
  "instanceId": "",
  "returnSecureToken": false,
  "token": ""
}
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/verifyCustomToken");

struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "content-type: application/json");
curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);

curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, "{\n  \"delegatedProjectNumber\": \"\",\n  \"instanceId\": \"\",\n  \"returnSecureToken\": false,\n  \"token\": \"\"\n}");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/post "{{baseUrl}}/verifyCustomToken" {:content-type :json
                                                              :form-params {:delegatedProjectNumber ""
                                                                            :instanceId ""
                                                                            :returnSecureToken false
                                                                            :token ""}})
require "http/client"

url = "{{baseUrl}}/verifyCustomToken"
headers = HTTP::Headers{
  "content-type" => "application/json"
}
reqBody = "{\n  \"delegatedProjectNumber\": \"\",\n  \"instanceId\": \"\",\n  \"returnSecureToken\": false,\n  \"token\": \"\"\n}"

response = HTTP::Client.post url, headers: headers, body: reqBody
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Post,
    RequestUri = new Uri("{{baseUrl}}/verifyCustomToken"),
    Content = new StringContent("{\n  \"delegatedProjectNumber\": \"\",\n  \"instanceId\": \"\",\n  \"returnSecureToken\": false,\n  \"token\": \"\"\n}")
    {
        Headers =
        {
            ContentType = new MediaTypeHeaderValue("application/json")
        }
    }
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/verifyCustomToken");
var request = new RestRequest("", Method.Post);
request.AddHeader("content-type", "application/json");
request.AddParameter("application/json", "{\n  \"delegatedProjectNumber\": \"\",\n  \"instanceId\": \"\",\n  \"returnSecureToken\": false,\n  \"token\": \"\"\n}", ParameterType.RequestBody);
var response = client.Execute(request);
package main

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

func main() {

	url := "{{baseUrl}}/verifyCustomToken"

	payload := strings.NewReader("{\n  \"delegatedProjectNumber\": \"\",\n  \"instanceId\": \"\",\n  \"returnSecureToken\": false,\n  \"token\": \"\"\n}")

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

	req.Header.Add("content-type", "application/json")

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

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

	fmt.Println(res)
	fmt.Println(string(body))

}
POST /baseUrl/verifyCustomToken HTTP/1.1
Content-Type: application/json
Host: example.com
Content-Length: 99

{
  "delegatedProjectNumber": "",
  "instanceId": "",
  "returnSecureToken": false,
  "token": ""
}
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/verifyCustomToken")
  .setHeader("content-type", "application/json")
  .setBody("{\n  \"delegatedProjectNumber\": \"\",\n  \"instanceId\": \"\",\n  \"returnSecureToken\": false,\n  \"token\": \"\"\n}")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/verifyCustomToken"))
    .header("content-type", "application/json")
    .method("POST", HttpRequest.BodyPublishers.ofString("{\n  \"delegatedProjectNumber\": \"\",\n  \"instanceId\": \"\",\n  \"returnSecureToken\": false,\n  \"token\": \"\"\n}"))
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n  \"delegatedProjectNumber\": \"\",\n  \"instanceId\": \"\",\n  \"returnSecureToken\": false,\n  \"token\": \"\"\n}");
Request request = new Request.Builder()
  .url("{{baseUrl}}/verifyCustomToken")
  .post(body)
  .addHeader("content-type", "application/json")
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/verifyCustomToken")
  .header("content-type", "application/json")
  .body("{\n  \"delegatedProjectNumber\": \"\",\n  \"instanceId\": \"\",\n  \"returnSecureToken\": false,\n  \"token\": \"\"\n}")
  .asString();
const data = JSON.stringify({
  delegatedProjectNumber: '',
  instanceId: '',
  returnSecureToken: false,
  token: ''
});

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('POST', '{{baseUrl}}/verifyCustomToken');
xhr.setRequestHeader('content-type', 'application/json');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'POST',
  url: '{{baseUrl}}/verifyCustomToken',
  headers: {'content-type': 'application/json'},
  data: {
    delegatedProjectNumber: '',
    instanceId: '',
    returnSecureToken: false,
    token: ''
  }
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/verifyCustomToken';
const options = {
  method: 'POST',
  headers: {'content-type': 'application/json'},
  body: '{"delegatedProjectNumber":"","instanceId":"","returnSecureToken":false,"token":""}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/verifyCustomToken',
  method: 'POST',
  headers: {
    'content-type': 'application/json'
  },
  processData: false,
  data: '{\n  "delegatedProjectNumber": "",\n  "instanceId": "",\n  "returnSecureToken": false,\n  "token": ""\n}'
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val mediaType = MediaType.parse("application/json")
val body = RequestBody.create(mediaType, "{\n  \"delegatedProjectNumber\": \"\",\n  \"instanceId\": \"\",\n  \"returnSecureToken\": false,\n  \"token\": \"\"\n}")
val request = Request.Builder()
  .url("{{baseUrl}}/verifyCustomToken")
  .post(body)
  .addHeader("content-type", "application/json")
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'POST',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/verifyCustomToken',
  headers: {
    'content-type': 'application/json'
  }
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.write(JSON.stringify({
  delegatedProjectNumber: '',
  instanceId: '',
  returnSecureToken: false,
  token: ''
}));
req.end();
const request = require('request');

const options = {
  method: 'POST',
  url: '{{baseUrl}}/verifyCustomToken',
  headers: {'content-type': 'application/json'},
  body: {
    delegatedProjectNumber: '',
    instanceId: '',
    returnSecureToken: false,
    token: ''
  },
  json: true
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('POST', '{{baseUrl}}/verifyCustomToken');

req.headers({
  'content-type': 'application/json'
});

req.type('json');
req.send({
  delegatedProjectNumber: '',
  instanceId: '',
  returnSecureToken: false,
  token: ''
});

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'POST',
  url: '{{baseUrl}}/verifyCustomToken',
  headers: {'content-type': 'application/json'},
  data: {
    delegatedProjectNumber: '',
    instanceId: '',
    returnSecureToken: false,
    token: ''
  }
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/verifyCustomToken';
const options = {
  method: 'POST',
  headers: {'content-type': 'application/json'},
  body: '{"delegatedProjectNumber":"","instanceId":"","returnSecureToken":false,"token":""}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSDictionary *headers = @{ @"content-type": @"application/json" };
NSDictionary *parameters = @{ @"delegatedProjectNumber": @"",
                              @"instanceId": @"",
                              @"returnSecureToken": @NO,
                              @"token": @"" };

NSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/verifyCustomToken"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
[request setAllHTTPHeaderFields:headers];
[request setHTTPBody:postData];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/verifyCustomToken" in
let headers = Header.add (Header.init ()) "content-type" "application/json" in
let body = Cohttp_lwt_body.of_string "{\n  \"delegatedProjectNumber\": \"\",\n  \"instanceId\": \"\",\n  \"returnSecureToken\": false,\n  \"token\": \"\"\n}" in

Client.call ~headers ~body `POST uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/verifyCustomToken",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
  CURLOPT_POSTFIELDS => json_encode([
    'delegatedProjectNumber' => '',
    'instanceId' => '',
    'returnSecureToken' => null,
    'token' => ''
  ]),
  CURLOPT_HTTPHEADER => [
    "content-type: application/json"
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('POST', '{{baseUrl}}/verifyCustomToken', [
  'body' => '{
  "delegatedProjectNumber": "",
  "instanceId": "",
  "returnSecureToken": false,
  "token": ""
}',
  'headers' => [
    'content-type' => 'application/json',
  ],
]);

echo $response->getBody();
setUrl('{{baseUrl}}/verifyCustomToken');
$request->setMethod(HTTP_METH_POST);

$request->setHeaders([
  'content-type' => 'application/json'
]);

$request->setContentType('application/json');
$request->setBody(json_encode([
  'delegatedProjectNumber' => '',
  'instanceId' => '',
  'returnSecureToken' => null,
  'token' => ''
]));

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
append(json_encode([
  'delegatedProjectNumber' => '',
  'instanceId' => '',
  'returnSecureToken' => null,
  'token' => ''
]));
$request->setRequestUrl('{{baseUrl}}/verifyCustomToken');
$request->setRequestMethod('POST');
$request->setBody($body);

$request->setHeaders([
  'content-type' => 'application/json'
]);

$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-WebRequest -Uri '{{baseUrl}}/verifyCustomToken' -Method POST -Headers $headers -ContentType 'application/json' -Body '{
  "delegatedProjectNumber": "",
  "instanceId": "",
  "returnSecureToken": false,
  "token": ""
}'
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-RestMethod -Uri '{{baseUrl}}/verifyCustomToken' -Method POST -Headers $headers -ContentType 'application/json' -Body '{
  "delegatedProjectNumber": "",
  "instanceId": "",
  "returnSecureToken": false,
  "token": ""
}'
import http.client

conn = http.client.HTTPSConnection("example.com")

payload = "{\n  \"delegatedProjectNumber\": \"\",\n  \"instanceId\": \"\",\n  \"returnSecureToken\": false,\n  \"token\": \"\"\n}"

headers = { 'content-type': "application/json" }

conn.request("POST", "/baseUrl/verifyCustomToken", payload, headers)

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/verifyCustomToken"

payload = {
    "delegatedProjectNumber": "",
    "instanceId": "",
    "returnSecureToken": False,
    "token": ""
}
headers = {"content-type": "application/json"}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
library(httr)

url <- "{{baseUrl}}/verifyCustomToken"

payload <- "{\n  \"delegatedProjectNumber\": \"\",\n  \"instanceId\": \"\",\n  \"returnSecureToken\": false,\n  \"token\": \"\"\n}"

encode <- "json"

response <- VERB("POST", url, body = payload, content_type("application/json"), encode = encode)

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/verifyCustomToken")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["content-type"] = 'application/json'
request.body = "{\n  \"delegatedProjectNumber\": \"\",\n  \"instanceId\": \"\",\n  \"returnSecureToken\": false,\n  \"token\": \"\"\n}"

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
  headers: {'Content-Type' => 'application/json'}
)

response = conn.post('/baseUrl/verifyCustomToken') do |req|
  req.body = "{\n  \"delegatedProjectNumber\": \"\",\n  \"instanceId\": \"\",\n  \"returnSecureToken\": false,\n  \"token\": \"\"\n}"
end

puts response.status
puts response.body
use serde_json::json;
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/verifyCustomToken";

    let payload = json!({
        "delegatedProjectNumber": "",
        "instanceId": "",
        "returnSecureToken": false,
        "token": ""
    });

    let mut headers = reqwest::header::HeaderMap::new();
    headers.insert("content-type", "application/json".parse().unwrap());

    let client = reqwest::Client::new();
    let response = client.post(url)
        .headers(headers)
        .json(&payload)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request POST \
  --url {{baseUrl}}/verifyCustomToken \
  --header 'content-type: application/json' \
  --data '{
  "delegatedProjectNumber": "",
  "instanceId": "",
  "returnSecureToken": false,
  "token": ""
}'
echo '{
  "delegatedProjectNumber": "",
  "instanceId": "",
  "returnSecureToken": false,
  "token": ""
}' |  \
  http POST {{baseUrl}}/verifyCustomToken \
  content-type:application/json
wget --quiet \
  --method POST \
  --header 'content-type: application/json' \
  --body-data '{\n  "delegatedProjectNumber": "",\n  "instanceId": "",\n  "returnSecureToken": false,\n  "token": ""\n}' \
  --output-document \
  - {{baseUrl}}/verifyCustomToken
import Foundation

let headers = ["content-type": "application/json"]
let parameters = [
  "delegatedProjectNumber": "",
  "instanceId": "",
  "returnSecureToken": false,
  "token": ""
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/verifyCustomToken")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
POST identitytoolkit.relyingparty.verifyPassword
{{baseUrl}}/verifyPassword
BODY json

{
  "captchaChallenge": "",
  "captchaResponse": "",
  "delegatedProjectNumber": "",
  "email": "",
  "idToken": "",
  "instanceId": "",
  "password": "",
  "pendingIdToken": "",
  "returnSecureToken": false,
  "tenantId": "",
  "tenantProjectNumber": ""
}
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/verifyPassword");

struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "content-type: application/json");
curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);

curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, "{\n  \"captchaChallenge\": \"\",\n  \"captchaResponse\": \"\",\n  \"delegatedProjectNumber\": \"\",\n  \"email\": \"\",\n  \"idToken\": \"\",\n  \"instanceId\": \"\",\n  \"password\": \"\",\n  \"pendingIdToken\": \"\",\n  \"returnSecureToken\": false,\n  \"tenantId\": \"\",\n  \"tenantProjectNumber\": \"\"\n}");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/post "{{baseUrl}}/verifyPassword" {:content-type :json
                                                           :form-params {:captchaChallenge ""
                                                                         :captchaResponse ""
                                                                         :delegatedProjectNumber ""
                                                                         :email ""
                                                                         :idToken ""
                                                                         :instanceId ""
                                                                         :password ""
                                                                         :pendingIdToken ""
                                                                         :returnSecureToken false
                                                                         :tenantId ""
                                                                         :tenantProjectNumber ""}})
require "http/client"

url = "{{baseUrl}}/verifyPassword"
headers = HTTP::Headers{
  "content-type" => "application/json"
}
reqBody = "{\n  \"captchaChallenge\": \"\",\n  \"captchaResponse\": \"\",\n  \"delegatedProjectNumber\": \"\",\n  \"email\": \"\",\n  \"idToken\": \"\",\n  \"instanceId\": \"\",\n  \"password\": \"\",\n  \"pendingIdToken\": \"\",\n  \"returnSecureToken\": false,\n  \"tenantId\": \"\",\n  \"tenantProjectNumber\": \"\"\n}"

response = HTTP::Client.post url, headers: headers, body: reqBody
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Post,
    RequestUri = new Uri("{{baseUrl}}/verifyPassword"),
    Content = new StringContent("{\n  \"captchaChallenge\": \"\",\n  \"captchaResponse\": \"\",\n  \"delegatedProjectNumber\": \"\",\n  \"email\": \"\",\n  \"idToken\": \"\",\n  \"instanceId\": \"\",\n  \"password\": \"\",\n  \"pendingIdToken\": \"\",\n  \"returnSecureToken\": false,\n  \"tenantId\": \"\",\n  \"tenantProjectNumber\": \"\"\n}")
    {
        Headers =
        {
            ContentType = new MediaTypeHeaderValue("application/json")
        }
    }
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/verifyPassword");
var request = new RestRequest("", Method.Post);
request.AddHeader("content-type", "application/json");
request.AddParameter("application/json", "{\n  \"captchaChallenge\": \"\",\n  \"captchaResponse\": \"\",\n  \"delegatedProjectNumber\": \"\",\n  \"email\": \"\",\n  \"idToken\": \"\",\n  \"instanceId\": \"\",\n  \"password\": \"\",\n  \"pendingIdToken\": \"\",\n  \"returnSecureToken\": false,\n  \"tenantId\": \"\",\n  \"tenantProjectNumber\": \"\"\n}", ParameterType.RequestBody);
var response = client.Execute(request);
package main

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

func main() {

	url := "{{baseUrl}}/verifyPassword"

	payload := strings.NewReader("{\n  \"captchaChallenge\": \"\",\n  \"captchaResponse\": \"\",\n  \"delegatedProjectNumber\": \"\",\n  \"email\": \"\",\n  \"idToken\": \"\",\n  \"instanceId\": \"\",\n  \"password\": \"\",\n  \"pendingIdToken\": \"\",\n  \"returnSecureToken\": false,\n  \"tenantId\": \"\",\n  \"tenantProjectNumber\": \"\"\n}")

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

	req.Header.Add("content-type", "application/json")

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

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

	fmt.Println(res)
	fmt.Println(string(body))

}
POST /baseUrl/verifyPassword HTTP/1.1
Content-Type: application/json
Host: example.com
Content-Length: 256

{
  "captchaChallenge": "",
  "captchaResponse": "",
  "delegatedProjectNumber": "",
  "email": "",
  "idToken": "",
  "instanceId": "",
  "password": "",
  "pendingIdToken": "",
  "returnSecureToken": false,
  "tenantId": "",
  "tenantProjectNumber": ""
}
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/verifyPassword")
  .setHeader("content-type", "application/json")
  .setBody("{\n  \"captchaChallenge\": \"\",\n  \"captchaResponse\": \"\",\n  \"delegatedProjectNumber\": \"\",\n  \"email\": \"\",\n  \"idToken\": \"\",\n  \"instanceId\": \"\",\n  \"password\": \"\",\n  \"pendingIdToken\": \"\",\n  \"returnSecureToken\": false,\n  \"tenantId\": \"\",\n  \"tenantProjectNumber\": \"\"\n}")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/verifyPassword"))
    .header("content-type", "application/json")
    .method("POST", HttpRequest.BodyPublishers.ofString("{\n  \"captchaChallenge\": \"\",\n  \"captchaResponse\": \"\",\n  \"delegatedProjectNumber\": \"\",\n  \"email\": \"\",\n  \"idToken\": \"\",\n  \"instanceId\": \"\",\n  \"password\": \"\",\n  \"pendingIdToken\": \"\",\n  \"returnSecureToken\": false,\n  \"tenantId\": \"\",\n  \"tenantProjectNumber\": \"\"\n}"))
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n  \"captchaChallenge\": \"\",\n  \"captchaResponse\": \"\",\n  \"delegatedProjectNumber\": \"\",\n  \"email\": \"\",\n  \"idToken\": \"\",\n  \"instanceId\": \"\",\n  \"password\": \"\",\n  \"pendingIdToken\": \"\",\n  \"returnSecureToken\": false,\n  \"tenantId\": \"\",\n  \"tenantProjectNumber\": \"\"\n}");
Request request = new Request.Builder()
  .url("{{baseUrl}}/verifyPassword")
  .post(body)
  .addHeader("content-type", "application/json")
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/verifyPassword")
  .header("content-type", "application/json")
  .body("{\n  \"captchaChallenge\": \"\",\n  \"captchaResponse\": \"\",\n  \"delegatedProjectNumber\": \"\",\n  \"email\": \"\",\n  \"idToken\": \"\",\n  \"instanceId\": \"\",\n  \"password\": \"\",\n  \"pendingIdToken\": \"\",\n  \"returnSecureToken\": false,\n  \"tenantId\": \"\",\n  \"tenantProjectNumber\": \"\"\n}")
  .asString();
const data = JSON.stringify({
  captchaChallenge: '',
  captchaResponse: '',
  delegatedProjectNumber: '',
  email: '',
  idToken: '',
  instanceId: '',
  password: '',
  pendingIdToken: '',
  returnSecureToken: false,
  tenantId: '',
  tenantProjectNumber: ''
});

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('POST', '{{baseUrl}}/verifyPassword');
xhr.setRequestHeader('content-type', 'application/json');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'POST',
  url: '{{baseUrl}}/verifyPassword',
  headers: {'content-type': 'application/json'},
  data: {
    captchaChallenge: '',
    captchaResponse: '',
    delegatedProjectNumber: '',
    email: '',
    idToken: '',
    instanceId: '',
    password: '',
    pendingIdToken: '',
    returnSecureToken: false,
    tenantId: '',
    tenantProjectNumber: ''
  }
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/verifyPassword';
const options = {
  method: 'POST',
  headers: {'content-type': 'application/json'},
  body: '{"captchaChallenge":"","captchaResponse":"","delegatedProjectNumber":"","email":"","idToken":"","instanceId":"","password":"","pendingIdToken":"","returnSecureToken":false,"tenantId":"","tenantProjectNumber":""}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/verifyPassword',
  method: 'POST',
  headers: {
    'content-type': 'application/json'
  },
  processData: false,
  data: '{\n  "captchaChallenge": "",\n  "captchaResponse": "",\n  "delegatedProjectNumber": "",\n  "email": "",\n  "idToken": "",\n  "instanceId": "",\n  "password": "",\n  "pendingIdToken": "",\n  "returnSecureToken": false,\n  "tenantId": "",\n  "tenantProjectNumber": ""\n}'
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val mediaType = MediaType.parse("application/json")
val body = RequestBody.create(mediaType, "{\n  \"captchaChallenge\": \"\",\n  \"captchaResponse\": \"\",\n  \"delegatedProjectNumber\": \"\",\n  \"email\": \"\",\n  \"idToken\": \"\",\n  \"instanceId\": \"\",\n  \"password\": \"\",\n  \"pendingIdToken\": \"\",\n  \"returnSecureToken\": false,\n  \"tenantId\": \"\",\n  \"tenantProjectNumber\": \"\"\n}")
val request = Request.Builder()
  .url("{{baseUrl}}/verifyPassword")
  .post(body)
  .addHeader("content-type", "application/json")
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'POST',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/verifyPassword',
  headers: {
    'content-type': 'application/json'
  }
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.write(JSON.stringify({
  captchaChallenge: '',
  captchaResponse: '',
  delegatedProjectNumber: '',
  email: '',
  idToken: '',
  instanceId: '',
  password: '',
  pendingIdToken: '',
  returnSecureToken: false,
  tenantId: '',
  tenantProjectNumber: ''
}));
req.end();
const request = require('request');

const options = {
  method: 'POST',
  url: '{{baseUrl}}/verifyPassword',
  headers: {'content-type': 'application/json'},
  body: {
    captchaChallenge: '',
    captchaResponse: '',
    delegatedProjectNumber: '',
    email: '',
    idToken: '',
    instanceId: '',
    password: '',
    pendingIdToken: '',
    returnSecureToken: false,
    tenantId: '',
    tenantProjectNumber: ''
  },
  json: true
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('POST', '{{baseUrl}}/verifyPassword');

req.headers({
  'content-type': 'application/json'
});

req.type('json');
req.send({
  captchaChallenge: '',
  captchaResponse: '',
  delegatedProjectNumber: '',
  email: '',
  idToken: '',
  instanceId: '',
  password: '',
  pendingIdToken: '',
  returnSecureToken: false,
  tenantId: '',
  tenantProjectNumber: ''
});

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'POST',
  url: '{{baseUrl}}/verifyPassword',
  headers: {'content-type': 'application/json'},
  data: {
    captchaChallenge: '',
    captchaResponse: '',
    delegatedProjectNumber: '',
    email: '',
    idToken: '',
    instanceId: '',
    password: '',
    pendingIdToken: '',
    returnSecureToken: false,
    tenantId: '',
    tenantProjectNumber: ''
  }
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/verifyPassword';
const options = {
  method: 'POST',
  headers: {'content-type': 'application/json'},
  body: '{"captchaChallenge":"","captchaResponse":"","delegatedProjectNumber":"","email":"","idToken":"","instanceId":"","password":"","pendingIdToken":"","returnSecureToken":false,"tenantId":"","tenantProjectNumber":""}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSDictionary *headers = @{ @"content-type": @"application/json" };
NSDictionary *parameters = @{ @"captchaChallenge": @"",
                              @"captchaResponse": @"",
                              @"delegatedProjectNumber": @"",
                              @"email": @"",
                              @"idToken": @"",
                              @"instanceId": @"",
                              @"password": @"",
                              @"pendingIdToken": @"",
                              @"returnSecureToken": @NO,
                              @"tenantId": @"",
                              @"tenantProjectNumber": @"" };

NSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/verifyPassword"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
[request setAllHTTPHeaderFields:headers];
[request setHTTPBody:postData];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/verifyPassword" in
let headers = Header.add (Header.init ()) "content-type" "application/json" in
let body = Cohttp_lwt_body.of_string "{\n  \"captchaChallenge\": \"\",\n  \"captchaResponse\": \"\",\n  \"delegatedProjectNumber\": \"\",\n  \"email\": \"\",\n  \"idToken\": \"\",\n  \"instanceId\": \"\",\n  \"password\": \"\",\n  \"pendingIdToken\": \"\",\n  \"returnSecureToken\": false,\n  \"tenantId\": \"\",\n  \"tenantProjectNumber\": \"\"\n}" in

Client.call ~headers ~body `POST uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/verifyPassword",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
  CURLOPT_POSTFIELDS => json_encode([
    'captchaChallenge' => '',
    'captchaResponse' => '',
    'delegatedProjectNumber' => '',
    'email' => '',
    'idToken' => '',
    'instanceId' => '',
    'password' => '',
    'pendingIdToken' => '',
    'returnSecureToken' => null,
    'tenantId' => '',
    'tenantProjectNumber' => ''
  ]),
  CURLOPT_HTTPHEADER => [
    "content-type: application/json"
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('POST', '{{baseUrl}}/verifyPassword', [
  'body' => '{
  "captchaChallenge": "",
  "captchaResponse": "",
  "delegatedProjectNumber": "",
  "email": "",
  "idToken": "",
  "instanceId": "",
  "password": "",
  "pendingIdToken": "",
  "returnSecureToken": false,
  "tenantId": "",
  "tenantProjectNumber": ""
}',
  'headers' => [
    'content-type' => 'application/json',
  ],
]);

echo $response->getBody();
setUrl('{{baseUrl}}/verifyPassword');
$request->setMethod(HTTP_METH_POST);

$request->setHeaders([
  'content-type' => 'application/json'
]);

$request->setContentType('application/json');
$request->setBody(json_encode([
  'captchaChallenge' => '',
  'captchaResponse' => '',
  'delegatedProjectNumber' => '',
  'email' => '',
  'idToken' => '',
  'instanceId' => '',
  'password' => '',
  'pendingIdToken' => '',
  'returnSecureToken' => null,
  'tenantId' => '',
  'tenantProjectNumber' => ''
]));

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
append(json_encode([
  'captchaChallenge' => '',
  'captchaResponse' => '',
  'delegatedProjectNumber' => '',
  'email' => '',
  'idToken' => '',
  'instanceId' => '',
  'password' => '',
  'pendingIdToken' => '',
  'returnSecureToken' => null,
  'tenantId' => '',
  'tenantProjectNumber' => ''
]));
$request->setRequestUrl('{{baseUrl}}/verifyPassword');
$request->setRequestMethod('POST');
$request->setBody($body);

$request->setHeaders([
  'content-type' => 'application/json'
]);

$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-WebRequest -Uri '{{baseUrl}}/verifyPassword' -Method POST -Headers $headers -ContentType 'application/json' -Body '{
  "captchaChallenge": "",
  "captchaResponse": "",
  "delegatedProjectNumber": "",
  "email": "",
  "idToken": "",
  "instanceId": "",
  "password": "",
  "pendingIdToken": "",
  "returnSecureToken": false,
  "tenantId": "",
  "tenantProjectNumber": ""
}'
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-RestMethod -Uri '{{baseUrl}}/verifyPassword' -Method POST -Headers $headers -ContentType 'application/json' -Body '{
  "captchaChallenge": "",
  "captchaResponse": "",
  "delegatedProjectNumber": "",
  "email": "",
  "idToken": "",
  "instanceId": "",
  "password": "",
  "pendingIdToken": "",
  "returnSecureToken": false,
  "tenantId": "",
  "tenantProjectNumber": ""
}'
import http.client

conn = http.client.HTTPSConnection("example.com")

payload = "{\n  \"captchaChallenge\": \"\",\n  \"captchaResponse\": \"\",\n  \"delegatedProjectNumber\": \"\",\n  \"email\": \"\",\n  \"idToken\": \"\",\n  \"instanceId\": \"\",\n  \"password\": \"\",\n  \"pendingIdToken\": \"\",\n  \"returnSecureToken\": false,\n  \"tenantId\": \"\",\n  \"tenantProjectNumber\": \"\"\n}"

headers = { 'content-type': "application/json" }

conn.request("POST", "/baseUrl/verifyPassword", payload, headers)

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/verifyPassword"

payload = {
    "captchaChallenge": "",
    "captchaResponse": "",
    "delegatedProjectNumber": "",
    "email": "",
    "idToken": "",
    "instanceId": "",
    "password": "",
    "pendingIdToken": "",
    "returnSecureToken": False,
    "tenantId": "",
    "tenantProjectNumber": ""
}
headers = {"content-type": "application/json"}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
library(httr)

url <- "{{baseUrl}}/verifyPassword"

payload <- "{\n  \"captchaChallenge\": \"\",\n  \"captchaResponse\": \"\",\n  \"delegatedProjectNumber\": \"\",\n  \"email\": \"\",\n  \"idToken\": \"\",\n  \"instanceId\": \"\",\n  \"password\": \"\",\n  \"pendingIdToken\": \"\",\n  \"returnSecureToken\": false,\n  \"tenantId\": \"\",\n  \"tenantProjectNumber\": \"\"\n}"

encode <- "json"

response <- VERB("POST", url, body = payload, content_type("application/json"), encode = encode)

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/verifyPassword")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["content-type"] = 'application/json'
request.body = "{\n  \"captchaChallenge\": \"\",\n  \"captchaResponse\": \"\",\n  \"delegatedProjectNumber\": \"\",\n  \"email\": \"\",\n  \"idToken\": \"\",\n  \"instanceId\": \"\",\n  \"password\": \"\",\n  \"pendingIdToken\": \"\",\n  \"returnSecureToken\": false,\n  \"tenantId\": \"\",\n  \"tenantProjectNumber\": \"\"\n}"

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
  headers: {'Content-Type' => 'application/json'}
)

response = conn.post('/baseUrl/verifyPassword') do |req|
  req.body = "{\n  \"captchaChallenge\": \"\",\n  \"captchaResponse\": \"\",\n  \"delegatedProjectNumber\": \"\",\n  \"email\": \"\",\n  \"idToken\": \"\",\n  \"instanceId\": \"\",\n  \"password\": \"\",\n  \"pendingIdToken\": \"\",\n  \"returnSecureToken\": false,\n  \"tenantId\": \"\",\n  \"tenantProjectNumber\": \"\"\n}"
end

puts response.status
puts response.body
use serde_json::json;
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/verifyPassword";

    let payload = json!({
        "captchaChallenge": "",
        "captchaResponse": "",
        "delegatedProjectNumber": "",
        "email": "",
        "idToken": "",
        "instanceId": "",
        "password": "",
        "pendingIdToken": "",
        "returnSecureToken": false,
        "tenantId": "",
        "tenantProjectNumber": ""
    });

    let mut headers = reqwest::header::HeaderMap::new();
    headers.insert("content-type", "application/json".parse().unwrap());

    let client = reqwest::Client::new();
    let response = client.post(url)
        .headers(headers)
        .json(&payload)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request POST \
  --url {{baseUrl}}/verifyPassword \
  --header 'content-type: application/json' \
  --data '{
  "captchaChallenge": "",
  "captchaResponse": "",
  "delegatedProjectNumber": "",
  "email": "",
  "idToken": "",
  "instanceId": "",
  "password": "",
  "pendingIdToken": "",
  "returnSecureToken": false,
  "tenantId": "",
  "tenantProjectNumber": ""
}'
echo '{
  "captchaChallenge": "",
  "captchaResponse": "",
  "delegatedProjectNumber": "",
  "email": "",
  "idToken": "",
  "instanceId": "",
  "password": "",
  "pendingIdToken": "",
  "returnSecureToken": false,
  "tenantId": "",
  "tenantProjectNumber": ""
}' |  \
  http POST {{baseUrl}}/verifyPassword \
  content-type:application/json
wget --quiet \
  --method POST \
  --header 'content-type: application/json' \
  --body-data '{\n  "captchaChallenge": "",\n  "captchaResponse": "",\n  "delegatedProjectNumber": "",\n  "email": "",\n  "idToken": "",\n  "instanceId": "",\n  "password": "",\n  "pendingIdToken": "",\n  "returnSecureToken": false,\n  "tenantId": "",\n  "tenantProjectNumber": ""\n}' \
  --output-document \
  - {{baseUrl}}/verifyPassword
import Foundation

let headers = ["content-type": "application/json"]
let parameters = [
  "captchaChallenge": "",
  "captchaResponse": "",
  "delegatedProjectNumber": "",
  "email": "",
  "idToken": "",
  "instanceId": "",
  "password": "",
  "pendingIdToken": "",
  "returnSecureToken": false,
  "tenantId": "",
  "tenantProjectNumber": ""
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/verifyPassword")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
POST identitytoolkit.relyingparty.verifyPhoneNumber
{{baseUrl}}/verifyPhoneNumber
BODY json

{
  "code": "",
  "idToken": "",
  "operation": "",
  "phoneNumber": "",
  "sessionInfo": "",
  "temporaryProof": "",
  "verificationProof": ""
}
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/verifyPhoneNumber");

struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "content-type: application/json");
curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);

curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, "{\n  \"code\": \"\",\n  \"idToken\": \"\",\n  \"operation\": \"\",\n  \"phoneNumber\": \"\",\n  \"sessionInfo\": \"\",\n  \"temporaryProof\": \"\",\n  \"verificationProof\": \"\"\n}");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/post "{{baseUrl}}/verifyPhoneNumber" {:content-type :json
                                                              :form-params {:code ""
                                                                            :idToken ""
                                                                            :operation ""
                                                                            :phoneNumber ""
                                                                            :sessionInfo ""
                                                                            :temporaryProof ""
                                                                            :verificationProof ""}})
require "http/client"

url = "{{baseUrl}}/verifyPhoneNumber"
headers = HTTP::Headers{
  "content-type" => "application/json"
}
reqBody = "{\n  \"code\": \"\",\n  \"idToken\": \"\",\n  \"operation\": \"\",\n  \"phoneNumber\": \"\",\n  \"sessionInfo\": \"\",\n  \"temporaryProof\": \"\",\n  \"verificationProof\": \"\"\n}"

response = HTTP::Client.post url, headers: headers, body: reqBody
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Post,
    RequestUri = new Uri("{{baseUrl}}/verifyPhoneNumber"),
    Content = new StringContent("{\n  \"code\": \"\",\n  \"idToken\": \"\",\n  \"operation\": \"\",\n  \"phoneNumber\": \"\",\n  \"sessionInfo\": \"\",\n  \"temporaryProof\": \"\",\n  \"verificationProof\": \"\"\n}")
    {
        Headers =
        {
            ContentType = new MediaTypeHeaderValue("application/json")
        }
    }
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/verifyPhoneNumber");
var request = new RestRequest("", Method.Post);
request.AddHeader("content-type", "application/json");
request.AddParameter("application/json", "{\n  \"code\": \"\",\n  \"idToken\": \"\",\n  \"operation\": \"\",\n  \"phoneNumber\": \"\",\n  \"sessionInfo\": \"\",\n  \"temporaryProof\": \"\",\n  \"verificationProof\": \"\"\n}", ParameterType.RequestBody);
var response = client.Execute(request);
package main

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

func main() {

	url := "{{baseUrl}}/verifyPhoneNumber"

	payload := strings.NewReader("{\n  \"code\": \"\",\n  \"idToken\": \"\",\n  \"operation\": \"\",\n  \"phoneNumber\": \"\",\n  \"sessionInfo\": \"\",\n  \"temporaryProof\": \"\",\n  \"verificationProof\": \"\"\n}")

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

	req.Header.Add("content-type", "application/json")

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

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

	fmt.Println(res)
	fmt.Println(string(body))

}
POST /baseUrl/verifyPhoneNumber HTTP/1.1
Content-Type: application/json
Host: example.com
Content-Length: 145

{
  "code": "",
  "idToken": "",
  "operation": "",
  "phoneNumber": "",
  "sessionInfo": "",
  "temporaryProof": "",
  "verificationProof": ""
}
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/verifyPhoneNumber")
  .setHeader("content-type", "application/json")
  .setBody("{\n  \"code\": \"\",\n  \"idToken\": \"\",\n  \"operation\": \"\",\n  \"phoneNumber\": \"\",\n  \"sessionInfo\": \"\",\n  \"temporaryProof\": \"\",\n  \"verificationProof\": \"\"\n}")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/verifyPhoneNumber"))
    .header("content-type", "application/json")
    .method("POST", HttpRequest.BodyPublishers.ofString("{\n  \"code\": \"\",\n  \"idToken\": \"\",\n  \"operation\": \"\",\n  \"phoneNumber\": \"\",\n  \"sessionInfo\": \"\",\n  \"temporaryProof\": \"\",\n  \"verificationProof\": \"\"\n}"))
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n  \"code\": \"\",\n  \"idToken\": \"\",\n  \"operation\": \"\",\n  \"phoneNumber\": \"\",\n  \"sessionInfo\": \"\",\n  \"temporaryProof\": \"\",\n  \"verificationProof\": \"\"\n}");
Request request = new Request.Builder()
  .url("{{baseUrl}}/verifyPhoneNumber")
  .post(body)
  .addHeader("content-type", "application/json")
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/verifyPhoneNumber")
  .header("content-type", "application/json")
  .body("{\n  \"code\": \"\",\n  \"idToken\": \"\",\n  \"operation\": \"\",\n  \"phoneNumber\": \"\",\n  \"sessionInfo\": \"\",\n  \"temporaryProof\": \"\",\n  \"verificationProof\": \"\"\n}")
  .asString();
const data = JSON.stringify({
  code: '',
  idToken: '',
  operation: '',
  phoneNumber: '',
  sessionInfo: '',
  temporaryProof: '',
  verificationProof: ''
});

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('POST', '{{baseUrl}}/verifyPhoneNumber');
xhr.setRequestHeader('content-type', 'application/json');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'POST',
  url: '{{baseUrl}}/verifyPhoneNumber',
  headers: {'content-type': 'application/json'},
  data: {
    code: '',
    idToken: '',
    operation: '',
    phoneNumber: '',
    sessionInfo: '',
    temporaryProof: '',
    verificationProof: ''
  }
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/verifyPhoneNumber';
const options = {
  method: 'POST',
  headers: {'content-type': 'application/json'},
  body: '{"code":"","idToken":"","operation":"","phoneNumber":"","sessionInfo":"","temporaryProof":"","verificationProof":""}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/verifyPhoneNumber',
  method: 'POST',
  headers: {
    'content-type': 'application/json'
  },
  processData: false,
  data: '{\n  "code": "",\n  "idToken": "",\n  "operation": "",\n  "phoneNumber": "",\n  "sessionInfo": "",\n  "temporaryProof": "",\n  "verificationProof": ""\n}'
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val mediaType = MediaType.parse("application/json")
val body = RequestBody.create(mediaType, "{\n  \"code\": \"\",\n  \"idToken\": \"\",\n  \"operation\": \"\",\n  \"phoneNumber\": \"\",\n  \"sessionInfo\": \"\",\n  \"temporaryProof\": \"\",\n  \"verificationProof\": \"\"\n}")
val request = Request.Builder()
  .url("{{baseUrl}}/verifyPhoneNumber")
  .post(body)
  .addHeader("content-type", "application/json")
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'POST',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/verifyPhoneNumber',
  headers: {
    'content-type': 'application/json'
  }
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.write(JSON.stringify({
  code: '',
  idToken: '',
  operation: '',
  phoneNumber: '',
  sessionInfo: '',
  temporaryProof: '',
  verificationProof: ''
}));
req.end();
const request = require('request');

const options = {
  method: 'POST',
  url: '{{baseUrl}}/verifyPhoneNumber',
  headers: {'content-type': 'application/json'},
  body: {
    code: '',
    idToken: '',
    operation: '',
    phoneNumber: '',
    sessionInfo: '',
    temporaryProof: '',
    verificationProof: ''
  },
  json: true
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('POST', '{{baseUrl}}/verifyPhoneNumber');

req.headers({
  'content-type': 'application/json'
});

req.type('json');
req.send({
  code: '',
  idToken: '',
  operation: '',
  phoneNumber: '',
  sessionInfo: '',
  temporaryProof: '',
  verificationProof: ''
});

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'POST',
  url: '{{baseUrl}}/verifyPhoneNumber',
  headers: {'content-type': 'application/json'},
  data: {
    code: '',
    idToken: '',
    operation: '',
    phoneNumber: '',
    sessionInfo: '',
    temporaryProof: '',
    verificationProof: ''
  }
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/verifyPhoneNumber';
const options = {
  method: 'POST',
  headers: {'content-type': 'application/json'},
  body: '{"code":"","idToken":"","operation":"","phoneNumber":"","sessionInfo":"","temporaryProof":"","verificationProof":""}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSDictionary *headers = @{ @"content-type": @"application/json" };
NSDictionary *parameters = @{ @"code": @"",
                              @"idToken": @"",
                              @"operation": @"",
                              @"phoneNumber": @"",
                              @"sessionInfo": @"",
                              @"temporaryProof": @"",
                              @"verificationProof": @"" };

NSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/verifyPhoneNumber"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
[request setAllHTTPHeaderFields:headers];
[request setHTTPBody:postData];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/verifyPhoneNumber" in
let headers = Header.add (Header.init ()) "content-type" "application/json" in
let body = Cohttp_lwt_body.of_string "{\n  \"code\": \"\",\n  \"idToken\": \"\",\n  \"operation\": \"\",\n  \"phoneNumber\": \"\",\n  \"sessionInfo\": \"\",\n  \"temporaryProof\": \"\",\n  \"verificationProof\": \"\"\n}" in

Client.call ~headers ~body `POST uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/verifyPhoneNumber",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
  CURLOPT_POSTFIELDS => json_encode([
    'code' => '',
    'idToken' => '',
    'operation' => '',
    'phoneNumber' => '',
    'sessionInfo' => '',
    'temporaryProof' => '',
    'verificationProof' => ''
  ]),
  CURLOPT_HTTPHEADER => [
    "content-type: application/json"
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('POST', '{{baseUrl}}/verifyPhoneNumber', [
  'body' => '{
  "code": "",
  "idToken": "",
  "operation": "",
  "phoneNumber": "",
  "sessionInfo": "",
  "temporaryProof": "",
  "verificationProof": ""
}',
  'headers' => [
    'content-type' => 'application/json',
  ],
]);

echo $response->getBody();
setUrl('{{baseUrl}}/verifyPhoneNumber');
$request->setMethod(HTTP_METH_POST);

$request->setHeaders([
  'content-type' => 'application/json'
]);

$request->setContentType('application/json');
$request->setBody(json_encode([
  'code' => '',
  'idToken' => '',
  'operation' => '',
  'phoneNumber' => '',
  'sessionInfo' => '',
  'temporaryProof' => '',
  'verificationProof' => ''
]));

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
append(json_encode([
  'code' => '',
  'idToken' => '',
  'operation' => '',
  'phoneNumber' => '',
  'sessionInfo' => '',
  'temporaryProof' => '',
  'verificationProof' => ''
]));
$request->setRequestUrl('{{baseUrl}}/verifyPhoneNumber');
$request->setRequestMethod('POST');
$request->setBody($body);

$request->setHeaders([
  'content-type' => 'application/json'
]);

$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-WebRequest -Uri '{{baseUrl}}/verifyPhoneNumber' -Method POST -Headers $headers -ContentType 'application/json' -Body '{
  "code": "",
  "idToken": "",
  "operation": "",
  "phoneNumber": "",
  "sessionInfo": "",
  "temporaryProof": "",
  "verificationProof": ""
}'
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-RestMethod -Uri '{{baseUrl}}/verifyPhoneNumber' -Method POST -Headers $headers -ContentType 'application/json' -Body '{
  "code": "",
  "idToken": "",
  "operation": "",
  "phoneNumber": "",
  "sessionInfo": "",
  "temporaryProof": "",
  "verificationProof": ""
}'
import http.client

conn = http.client.HTTPSConnection("example.com")

payload = "{\n  \"code\": \"\",\n  \"idToken\": \"\",\n  \"operation\": \"\",\n  \"phoneNumber\": \"\",\n  \"sessionInfo\": \"\",\n  \"temporaryProof\": \"\",\n  \"verificationProof\": \"\"\n}"

headers = { 'content-type': "application/json" }

conn.request("POST", "/baseUrl/verifyPhoneNumber", payload, headers)

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/verifyPhoneNumber"

payload = {
    "code": "",
    "idToken": "",
    "operation": "",
    "phoneNumber": "",
    "sessionInfo": "",
    "temporaryProof": "",
    "verificationProof": ""
}
headers = {"content-type": "application/json"}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
library(httr)

url <- "{{baseUrl}}/verifyPhoneNumber"

payload <- "{\n  \"code\": \"\",\n  \"idToken\": \"\",\n  \"operation\": \"\",\n  \"phoneNumber\": \"\",\n  \"sessionInfo\": \"\",\n  \"temporaryProof\": \"\",\n  \"verificationProof\": \"\"\n}"

encode <- "json"

response <- VERB("POST", url, body = payload, content_type("application/json"), encode = encode)

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/verifyPhoneNumber")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["content-type"] = 'application/json'
request.body = "{\n  \"code\": \"\",\n  \"idToken\": \"\",\n  \"operation\": \"\",\n  \"phoneNumber\": \"\",\n  \"sessionInfo\": \"\",\n  \"temporaryProof\": \"\",\n  \"verificationProof\": \"\"\n}"

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
  headers: {'Content-Type' => 'application/json'}
)

response = conn.post('/baseUrl/verifyPhoneNumber') do |req|
  req.body = "{\n  \"code\": \"\",\n  \"idToken\": \"\",\n  \"operation\": \"\",\n  \"phoneNumber\": \"\",\n  \"sessionInfo\": \"\",\n  \"temporaryProof\": \"\",\n  \"verificationProof\": \"\"\n}"
end

puts response.status
puts response.body
use serde_json::json;
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/verifyPhoneNumber";

    let payload = json!({
        "code": "",
        "idToken": "",
        "operation": "",
        "phoneNumber": "",
        "sessionInfo": "",
        "temporaryProof": "",
        "verificationProof": ""
    });

    let mut headers = reqwest::header::HeaderMap::new();
    headers.insert("content-type", "application/json".parse().unwrap());

    let client = reqwest::Client::new();
    let response = client.post(url)
        .headers(headers)
        .json(&payload)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request POST \
  --url {{baseUrl}}/verifyPhoneNumber \
  --header 'content-type: application/json' \
  --data '{
  "code": "",
  "idToken": "",
  "operation": "",
  "phoneNumber": "",
  "sessionInfo": "",
  "temporaryProof": "",
  "verificationProof": ""
}'
echo '{
  "code": "",
  "idToken": "",
  "operation": "",
  "phoneNumber": "",
  "sessionInfo": "",
  "temporaryProof": "",
  "verificationProof": ""
}' |  \
  http POST {{baseUrl}}/verifyPhoneNumber \
  content-type:application/json
wget --quiet \
  --method POST \
  --header 'content-type: application/json' \
  --body-data '{\n  "code": "",\n  "idToken": "",\n  "operation": "",\n  "phoneNumber": "",\n  "sessionInfo": "",\n  "temporaryProof": "",\n  "verificationProof": ""\n}' \
  --output-document \
  - {{baseUrl}}/verifyPhoneNumber
import Foundation

let headers = ["content-type": "application/json"]
let parameters = [
  "code": "",
  "idToken": "",
  "operation": "",
  "phoneNumber": "",
  "sessionInfo": "",
  "temporaryProof": "",
  "verificationProof": ""
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/verifyPhoneNumber")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()