curl -X POST https://verification.didit.me/v3/travel-rule/pickup/{token}/messages/ \ -H 'Content-Type: application/json' \ -d '{"kind": "MESSAGE", "body": "Attached is the proof of address of the wallet holder."}'
import requests
url = "https://verification.didit.me/v3/travel-rule/pickup/{token}/messages/"
payload = {
"kind": "MESSAGE",
"body": "Attached is the proof of address of the wallet holder."
}
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({
kind: 'MESSAGE',
body: JSON.stringify('Attached is the proof of address of the wallet holder.')
})
};
fetch('https://verification.didit.me/v3/travel-rule/pickup/{token}/messages/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://verification.didit.me/v3/travel-rule/pickup/{token}/messages/"
payload := strings.NewReader("{\n \"kind\": \"MESSAGE\",\n \"body\": \"Attached is the proof of address of the wallet holder.\"\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://verification.didit.me/v3/travel-rule/pickup/{token}/messages/")
.header("Content-Type", "application/json")
.body("{\n \"kind\": \"MESSAGE\",\n \"body\": \"Attached is the proof of address of the wallet holder.\"\n}")
.asString();
require 'uri'
require 'net/http'
url = URI("https://verification.didit.me/v3/travel-rule/pickup/{token}/messages/")
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 \"kind\": \"MESSAGE\",\n \"body\": \"Attached is the proof of address of the wallet holder.\"\n}"
response = http.request(request)
puts response.read_body
curl -X POST https://verification.didit.me/v3/travel-rule/pickup/{token}/messages/ \ -H 'Content-Type: application/json' \ -d '{"kind": "MESSAGE", "body": "Attached is the proof of address of the wallet holder."}'
import requests
url = "https://verification.didit.me/v3/travel-rule/pickup/{token}/messages/"
payload = {
"kind": "MESSAGE",
"body": "Attached is the proof of address of the wallet holder."
}
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({
kind: 'MESSAGE',
body: JSON.stringify('Attached is the proof of address of the wallet holder.')
})
};
fetch('https://verification.didit.me/v3/travel-rule/pickup/{token}/messages/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://verification.didit.me/v3/travel-rule/pickup/{token}/messages/"
payload := strings.NewReader("{\n \"kind\": \"MESSAGE\",\n \"body\": \"Attached is the proof of address of the wallet holder.\"\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://verification.didit.me/v3/travel-rule/pickup/{token}/messages/")
.header("Content-Type", "application/json")
.body("{\n \"kind\": \"MESSAGE\",\n \"body\": \"Attached is the proof of address of the wallet holder.\"\n}")
.asString();
require 'uri'
require 'net/http'
url = URI("https://verification.didit.me/v3/travel-rule/pickup/{token}/messages/")
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 \"kind\": \"MESSAGE\",\n \"body\": \"Attached is the proof of address of the wallet holder.\"\n}"
response = http.request(request)
puts response.read_body