We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3fead63 commit d3b2c35Copy full SHA for d3b2c35
voice/voice-api/transfer-call-inline-ncco.sh
@@ -2,8 +2,8 @@
2
source "../../config.sh"
3
source "../../jwt.sh"
4
5
-curl -X POST https://api.nexmo.com/v1/calls/$UUID \
+curl -X PUT https://api.nexmo.com/v1/calls/$UUID \
6
-H "Authorization: Bearer "$JWT \
7
-H "Content-Type: application/json"\
8
-d '{"action": "transfer",
9
- "destination": {"type": "ncco", "ncco": ["action":"talk", "text":"This is a transfer action using an inline NCCO"]}}'
+ "destination": {"type": "ncco", "ncco": [{"action":"talk", "text":"This is a transfer action using an inline NCCO"}]}}'
0 commit comments