Execute Bucket Withdraw Transaction
curl --request POST \
--url https://api.rokcel.com/v1/bucket/b5f7de1d-2bf2-41d6-89e9-3315d48fa4c1/withdraw/execute/tr_token_7b9105e584794c09bed09b3c2cab3df0ce5c160def20599eac8870c1b91ebdbe8e95b156c1fd9bf48b574aa131f870c162d29eac7d44801d31384cd06e225bf6 \
--header 'Content-Type: application/json' \
--data @- <<EOF
{
"metadata": {
"desc": "Concurrency: If your application experiences concurrent updates, the fetched oldValue might not be entirely accurate if another update occurs between the select and update queries.",
"message": "This is my contribution man.",
"organisation": "ROKCEL",
"text": "When working with Drizzle ORM and needing to retrieve the old value of a column during an update operation, you'll generally need to employ a strategy that involves fetching the record's current state before applying the update.",
"user_id": "b5f7de1d-2bf2-41d6-89e9-3315d48fa4c1"
}
}
EOFimport requests
url = "https://api.rokcel.com/v1/bucket/b5f7de1d-2bf2-41d6-89e9-3315d48fa4c1/withdraw/execute/tr_token_7b9105e584794c09bed09b3c2cab3df0ce5c160def20599eac8870c1b91ebdbe8e95b156c1fd9bf48b574aa131f870c162d29eac7d44801d31384cd06e225bf6"
payload = { "metadata": {
"desc": "Concurrency: If your application experiences concurrent updates, the fetched oldValue might not be entirely accurate if another update occurs between the select and update queries.",
"message": "This is my contribution man.",
"organisation": "ROKCEL",
"text": "When working with Drizzle ORM and needing to retrieve the old value of a column during an update operation, you'll generally need to employ a strategy that involves fetching the record's current state before applying the update.",
"user_id": "b5f7de1d-2bf2-41d6-89e9-3315d48fa4c1"
} }
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
metadata: {
desc: 'Concurrency: If your application experiences concurrent updates, the fetched oldValue might not be entirely accurate if another update occurs between the select and update queries.',
message: 'This is my contribution man.',
organisation: 'ROKCEL',
text: 'When working with Drizzle ORM and needing to retrieve the old value of a column during an update operation, you\'ll generally need to employ a strategy that involves fetching the record\'s current state before applying the update.',
user_id: 'b5f7de1d-2bf2-41d6-89e9-3315d48fa4c1'
}
})
};
fetch('https://api.rokcel.com/v1/bucket/b5f7de1d-2bf2-41d6-89e9-3315d48fa4c1/withdraw/execute/tr_token_7b9105e584794c09bed09b3c2cab3df0ce5c160def20599eac8870c1b91ebdbe8e95b156c1fd9bf48b574aa131f870c162d29eac7d44801d31384cd06e225bf6', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.rokcel.com/v1/bucket/b5f7de1d-2bf2-41d6-89e9-3315d48fa4c1/withdraw/execute/tr_token_7b9105e584794c09bed09b3c2cab3df0ce5c160def20599eac8870c1b91ebdbe8e95b156c1fd9bf48b574aa131f870c162d29eac7d44801d31384cd06e225bf6",
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([
'metadata' => [
'desc' => 'Concurrency: If your application experiences concurrent updates, the fetched oldValue might not be entirely accurate if another update occurs between the select and update queries.',
'message' => 'This is my contribution man.',
'organisation' => 'ROKCEL',
'text' => 'When working with Drizzle ORM and needing to retrieve the old value of a column during an update operation, you\'ll generally need to employ a strategy that involves fetching the record\'s current state before applying the update.',
'user_id' => 'b5f7de1d-2bf2-41d6-89e9-3315d48fa4c1'
]
]),
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;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.rokcel.com/v1/bucket/b5f7de1d-2bf2-41d6-89e9-3315d48fa4c1/withdraw/execute/tr_token_7b9105e584794c09bed09b3c2cab3df0ce5c160def20599eac8870c1b91ebdbe8e95b156c1fd9bf48b574aa131f870c162d29eac7d44801d31384cd06e225bf6"
payload := strings.NewReader("{\n \"metadata\": {\n \"desc\": \"Concurrency: If your application experiences concurrent updates, the fetched oldValue might not be entirely accurate if another update occurs between the select and update queries.\",\n \"message\": \"This is my contribution man.\",\n \"organisation\": \"ROKCEL\",\n \"text\": \"When working with Drizzle ORM and needing to retrieve the old value of a column during an update operation, you'll generally need to employ a strategy that involves fetching the record's current state before applying the update.\",\n \"user_id\": \"b5f7de1d-2bf2-41d6-89e9-3315d48fa4c1\"\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(string(body))
}HttpResponse<String> response = Unirest.post("https://api.rokcel.com/v1/bucket/b5f7de1d-2bf2-41d6-89e9-3315d48fa4c1/withdraw/execute/tr_token_7b9105e584794c09bed09b3c2cab3df0ce5c160def20599eac8870c1b91ebdbe8e95b156c1fd9bf48b574aa131f870c162d29eac7d44801d31384cd06e225bf6")
.header("Content-Type", "application/json")
.body("{\n \"metadata\": {\n \"desc\": \"Concurrency: If your application experiences concurrent updates, the fetched oldValue might not be entirely accurate if another update occurs between the select and update queries.\",\n \"message\": \"This is my contribution man.\",\n \"organisation\": \"ROKCEL\",\n \"text\": \"When working with Drizzle ORM and needing to retrieve the old value of a column during an update operation, you'll generally need to employ a strategy that involves fetching the record's current state before applying the update.\",\n \"user_id\": \"b5f7de1d-2bf2-41d6-89e9-3315d48fa4c1\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.rokcel.com/v1/bucket/b5f7de1d-2bf2-41d6-89e9-3315d48fa4c1/withdraw/execute/tr_token_7b9105e584794c09bed09b3c2cab3df0ce5c160def20599eac8870c1b91ebdbe8e95b156c1fd9bf48b574aa131f870c162d29eac7d44801d31384cd06e225bf6")
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 \"metadata\": {\n \"desc\": \"Concurrency: If your application experiences concurrent updates, the fetched oldValue might not be entirely accurate if another update occurs between the select and update queries.\",\n \"message\": \"This is my contribution man.\",\n \"organisation\": \"ROKCEL\",\n \"text\": \"When working with Drizzle ORM and needing to retrieve the old value of a column during an update operation, you'll generally need to employ a strategy that involves fetching the record's current state before applying the update.\",\n \"user_id\": \"b5f7de1d-2bf2-41d6-89e9-3315d48fa4c1\"\n }\n}"
response = http.request(request)
puts response.read_bodyBucket
Execute Bucket Withdraw Transaction
Execute Bucket Withdraw Transaction
POST
/
v1
/
bucket
/
b5f7de1d-2bf2-41d6-89e9-3315d48fa4c1
/
withdraw
/
execute
/
tr_token_7b9105e584794c09bed09b3c2cab3df0ce5c160def20599eac8870c1b91ebdbe8e95b156c1fd9bf48b574aa131f870c162d29eac7d44801d31384cd06e225bf6
Execute Bucket Withdraw Transaction
curl --request POST \
--url https://api.rokcel.com/v1/bucket/b5f7de1d-2bf2-41d6-89e9-3315d48fa4c1/withdraw/execute/tr_token_7b9105e584794c09bed09b3c2cab3df0ce5c160def20599eac8870c1b91ebdbe8e95b156c1fd9bf48b574aa131f870c162d29eac7d44801d31384cd06e225bf6 \
--header 'Content-Type: application/json' \
--data @- <<EOF
{
"metadata": {
"desc": "Concurrency: If your application experiences concurrent updates, the fetched oldValue might not be entirely accurate if another update occurs between the select and update queries.",
"message": "This is my contribution man.",
"organisation": "ROKCEL",
"text": "When working with Drizzle ORM and needing to retrieve the old value of a column during an update operation, you'll generally need to employ a strategy that involves fetching the record's current state before applying the update.",
"user_id": "b5f7de1d-2bf2-41d6-89e9-3315d48fa4c1"
}
}
EOFimport requests
url = "https://api.rokcel.com/v1/bucket/b5f7de1d-2bf2-41d6-89e9-3315d48fa4c1/withdraw/execute/tr_token_7b9105e584794c09bed09b3c2cab3df0ce5c160def20599eac8870c1b91ebdbe8e95b156c1fd9bf48b574aa131f870c162d29eac7d44801d31384cd06e225bf6"
payload = { "metadata": {
"desc": "Concurrency: If your application experiences concurrent updates, the fetched oldValue might not be entirely accurate if another update occurs between the select and update queries.",
"message": "This is my contribution man.",
"organisation": "ROKCEL",
"text": "When working with Drizzle ORM and needing to retrieve the old value of a column during an update operation, you'll generally need to employ a strategy that involves fetching the record's current state before applying the update.",
"user_id": "b5f7de1d-2bf2-41d6-89e9-3315d48fa4c1"
} }
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
metadata: {
desc: 'Concurrency: If your application experiences concurrent updates, the fetched oldValue might not be entirely accurate if another update occurs between the select and update queries.',
message: 'This is my contribution man.',
organisation: 'ROKCEL',
text: 'When working with Drizzle ORM and needing to retrieve the old value of a column during an update operation, you\'ll generally need to employ a strategy that involves fetching the record\'s current state before applying the update.',
user_id: 'b5f7de1d-2bf2-41d6-89e9-3315d48fa4c1'
}
})
};
fetch('https://api.rokcel.com/v1/bucket/b5f7de1d-2bf2-41d6-89e9-3315d48fa4c1/withdraw/execute/tr_token_7b9105e584794c09bed09b3c2cab3df0ce5c160def20599eac8870c1b91ebdbe8e95b156c1fd9bf48b574aa131f870c162d29eac7d44801d31384cd06e225bf6', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.rokcel.com/v1/bucket/b5f7de1d-2bf2-41d6-89e9-3315d48fa4c1/withdraw/execute/tr_token_7b9105e584794c09bed09b3c2cab3df0ce5c160def20599eac8870c1b91ebdbe8e95b156c1fd9bf48b574aa131f870c162d29eac7d44801d31384cd06e225bf6",
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([
'metadata' => [
'desc' => 'Concurrency: If your application experiences concurrent updates, the fetched oldValue might not be entirely accurate if another update occurs between the select and update queries.',
'message' => 'This is my contribution man.',
'organisation' => 'ROKCEL',
'text' => 'When working with Drizzle ORM and needing to retrieve the old value of a column during an update operation, you\'ll generally need to employ a strategy that involves fetching the record\'s current state before applying the update.',
'user_id' => 'b5f7de1d-2bf2-41d6-89e9-3315d48fa4c1'
]
]),
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;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.rokcel.com/v1/bucket/b5f7de1d-2bf2-41d6-89e9-3315d48fa4c1/withdraw/execute/tr_token_7b9105e584794c09bed09b3c2cab3df0ce5c160def20599eac8870c1b91ebdbe8e95b156c1fd9bf48b574aa131f870c162d29eac7d44801d31384cd06e225bf6"
payload := strings.NewReader("{\n \"metadata\": {\n \"desc\": \"Concurrency: If your application experiences concurrent updates, the fetched oldValue might not be entirely accurate if another update occurs between the select and update queries.\",\n \"message\": \"This is my contribution man.\",\n \"organisation\": \"ROKCEL\",\n \"text\": \"When working with Drizzle ORM and needing to retrieve the old value of a column during an update operation, you'll generally need to employ a strategy that involves fetching the record's current state before applying the update.\",\n \"user_id\": \"b5f7de1d-2bf2-41d6-89e9-3315d48fa4c1\"\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(string(body))
}HttpResponse<String> response = Unirest.post("https://api.rokcel.com/v1/bucket/b5f7de1d-2bf2-41d6-89e9-3315d48fa4c1/withdraw/execute/tr_token_7b9105e584794c09bed09b3c2cab3df0ce5c160def20599eac8870c1b91ebdbe8e95b156c1fd9bf48b574aa131f870c162d29eac7d44801d31384cd06e225bf6")
.header("Content-Type", "application/json")
.body("{\n \"metadata\": {\n \"desc\": \"Concurrency: If your application experiences concurrent updates, the fetched oldValue might not be entirely accurate if another update occurs between the select and update queries.\",\n \"message\": \"This is my contribution man.\",\n \"organisation\": \"ROKCEL\",\n \"text\": \"When working with Drizzle ORM and needing to retrieve the old value of a column during an update operation, you'll generally need to employ a strategy that involves fetching the record's current state before applying the update.\",\n \"user_id\": \"b5f7de1d-2bf2-41d6-89e9-3315d48fa4c1\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.rokcel.com/v1/bucket/b5f7de1d-2bf2-41d6-89e9-3315d48fa4c1/withdraw/execute/tr_token_7b9105e584794c09bed09b3c2cab3df0ce5c160def20599eac8870c1b91ebdbe8e95b156c1fd9bf48b574aa131f870c162d29eac7d44801d31384cd06e225bf6")
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 \"metadata\": {\n \"desc\": \"Concurrency: If your application experiences concurrent updates, the fetched oldValue might not be entirely accurate if another update occurs between the select and update queries.\",\n \"message\": \"This is my contribution man.\",\n \"organisation\": \"ROKCEL\",\n \"text\": \"When working with Drizzle ORM and needing to retrieve the old value of a column during an update operation, you'll generally need to employ a strategy that involves fetching the record's current state before applying the update.\",\n \"user_id\": \"b5f7de1d-2bf2-41d6-89e9-3315d48fa4c1\"\n }\n}"
response = http.request(request)
puts response.read_body⌘I
