Skip to main content

Open a new tab with a json body containing card information

  • March 19, 2024
  • 0 replies
  • 7 views

Forum|alt.badge.img+3

Hi all!

I want to open a new tab according to the phone number on the card, however, I need the phone number to be in the body of the request and not in the URL
I need something like this:

 

curl --location 'https://example.com/' \
--header 'Content-Type: application/json' \
--data-raw '{"dialer":{
"dials": [{
"attendant_email": "test@test.com",
"extension_number": 101,
"customer_info": "Test",
"client": {
"phones": [{
"name":"Name in Card",
"number": "Phone in Card",
"type": "2"}]}}]},
"token": "fix token"}'

Can i do this in button with openURL?

0 replies

Be the first to reply!