Skip to content

Commit c703822

Browse files
Merge pull request #49 from hoseinalizadeh1373/main
Update PUT To POST
2 parents f7ba512 + 22073cb commit c703822

File tree

4 files changed

+30
-30
lines changed

4 files changed

+30
-30
lines changed

Diff for: i18n/en/docusaurus-plugin-content-docs/current/developers/2-SimotelAPI/v4/4-call-originate.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ import TabItem from '@theme/TabItem';
7070
CURLOPT_TIMEOUT => 0,
7171
CURLOPT_FOLLOWLOCATION => true,
7272
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
73-
CURLOPT_CUSTOMREQUEST => 'PUT',
73+
CURLOPT_CUSTOMREQUEST => 'POST',
7474
CURLOPT_POSTFIELDS =>'{
7575
"caller":"557",
7676
"callee":"552",
@@ -117,7 +117,7 @@ import TabItem from '@theme/TabItem';
117117
<script>
118118
var settings = {
119119
"url": "http://192.168.51.20/api/v4/call/originate/act",
120-
"method": "PUT",
120+
"method": "POST",
121121
"timeout": 0,
122122
"headers": {
123123
"X-APIKEY": "vZKtIKWsld0egNlkzHo8i5LVBqLNBSWARCQsPOSgDjFmAHM3tG",
@@ -154,7 +154,7 @@ import TabItem from '@theme/TabItem';
154154
<br/>
155155
```bash
156156

157-
curl --location --request PUT 'http://192.168.51.20/api/v4/call/originate/act' \
157+
curl --location --request POST 'http://192.168.51.20/api/v4/call/originate/act' \
158158
--header 'X-APIKEY: vZKtIKWsld0egNlkzHo8i5LVBqLNBSWARCQsPOSgDjFmAHM3tG' \
159159
--header 'Authorization: Basic dGVzdDpBYTEyMzQ1Ng==' \
160160
--header 'Content-Type: application/json' \

Diff for: i18n/en/docusaurus-plugin-content-docs/current/developers/4-Scenarios/3-call_originate.md

+12-12
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ import TabItem from '@theme/TabItem';
5252
CURLOPT_TIMEOUT => 0,
5353
CURLOPT_FOLLOWLOCATION => true,
5454
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
55-
CURLOPT_CUSTOMREQUEST => 'PUT',
55+
CURLOPT_CUSTOMREQUEST => 'POST',
5656
CURLOPT_POSTFIELDS =>'{
5757
"caller":"570",
5858
"callee":"553",
@@ -92,7 +92,7 @@ import TabItem from '@theme/TabItem';
9292
<script>
9393
var settings = {
9494
"url": "http://192.168.51.20/api/v4/call/originate/act",
95-
"method": "PUT",
95+
"method": "POST",
9696
"timeout": 0,
9797
"headers": {
9898
"X-APIKEY": "9UV0BWKRL83PYIH9Gv1fI85d41lO4S932EeX3wHC47sHjMJOMG",
@@ -125,7 +125,7 @@ import TabItem from '@theme/TabItem';
125125
<br/>
126126

127127
```bash
128-
curl --location --request PUT 'http://192.168.51.20/api/v4/call/originate/act' \
128+
curl --location --request POST 'http://192.168.51.20/api/v4/call/originate/act' \
129129
--header 'X-APIKEY: 9UV0BWKRL83PYIH9Gv1fI85d41lO4S932EeX3wHC47sHjMJOMG' \
130130
--header 'Authorization: Basic c2FkcjpTYWRyQDEyMw==' \
131131
--header 'Content-Type: application/json' \
@@ -207,7 +207,7 @@ Since the exit path for the caller (the first person in the call) is determined
207207
CURLOPT_TIMEOUT => 0,
208208
CURLOPT_FOLLOWLOCATION => true,
209209
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
210-
CURLOPT_CUSTOMREQUEST => 'PUT',
210+
CURLOPT_CUSTOMREQUEST => 'POST',
211211
CURLOPT_POSTFIELDS =>'{
212212
"caller":"09371234567",
213213
"callee":"521",
@@ -248,7 +248,7 @@ Since the exit path for the caller (the first person in the call) is determined
248248
<script>
249249
var settings = {
250250
"url": "http://192.168.51.20/api/v4/call/originate/act",
251-
"method": "PUT",
251+
"method": "POST",
252252
"timeout": 0,
253253
"headers": {
254254
"X-APIKEY": "9UV0BWKRL83PYIH9Gv1fI85d41lO4S932EeX3wHC47sHjMJOMG",
@@ -281,7 +281,7 @@ Since the exit path for the caller (the first person in the call) is determined
281281
<summary>Show Full Source Code Curl</summary>
282282
<br/>
283283
```bash
284-
curl --location --request PUT 'http://192.168.51.20/api/v4/call/originate/act' \
284+
curl --location --request POST 'http://192.168.51.20/api/v4/call/originate/act' \
285285
--header 'X-APIKEY: 9UV0BWKRL83PYIH9Gv1fI85d41lO4S932EeX3wHC47sHjMJOMG' \
286286
--header 'Authorization: Basic c2FkcjpTYWRyQDEyMw==' \
287287
--header 'Content-Type: application/json' \
@@ -369,7 +369,7 @@ In this example, the value of `context` is set to **main_routing**, and in the `
369369
CURLOPT_TIMEOUT => 0,
370370
CURLOPT_FOLLOWLOCATION => true,
371371
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
372-
CURLOPT_CUSTOMREQUEST => 'PUT',
372+
CURLOPT_CUSTOMREQUEST => 'POST',
373373
CURLOPT_POSTFIELDS =>'{
374374
"caller":"521",
375375
"callee":"09371234567",
@@ -409,7 +409,7 @@ In this example, the value of `context` is set to **main_routing**, and in the `
409409
<script>
410410
var settings = {
411411
"url": "http://192.168.51.20/api/v4/call/originate/act",
412-
"method": "PUT",
412+
"method": "POST",
413413
"timeout": 0,
414414
"headers": {
415415
"X-APIKEY": "9UV0BWKRL83PYIH9Gv1fI85d41lO4S932EeX3wHC47sHjMJOMG",
@@ -442,7 +442,7 @@ In this example, the value of `context` is set to **main_routing**, and in the `
442442
<br/>
443443

444444
```bash
445-
curl --location --request PUT 'http://192.168.51.20/api/v4/call/originate/act' \
445+
curl --location --request POST 'http://192.168.51.20/api/v4/call/originate/act' \
446446
--header 'X-APIKEY: 9UV0BWKRL83PYIH9Gv1fI85d41lO4S932EeX3wHC47sHjMJOMG' \
447447
--header 'Authorization: Basic c2FkcjpTYWRyQDEyMw==' \
448448
--header 'Content-Type: application/json' \
@@ -520,7 +520,7 @@ In this example, the value of `context` is set to **main_routing**, and in the `
520520
CURLOPT_TIMEOUT => 0,
521521
CURLOPT_FOLLOWLOCATION => true,
522522
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
523-
CURLOPT_CUSTOMREQUEST => 'PUT',
523+
CURLOPT_CUSTOMREQUEST => 'POST',
524524
CURLOPT_POSTFIELDS =>'{
525525
"caller":"31041570",
526526
"callee":"09371234567",
@@ -561,7 +561,7 @@ In this example, the value of `context` is set to **main_routing**, and in the `
561561
<script>
562562
var settings = {
563563
"url": "http://192.168.51.20/api/v4/call/originate/act",
564-
"method": "PUT",
564+
"method": "POST",
565565
"timeout": 0,
566566
"headers": {
567567
"X-APIKEY": "9UV0BWKRL83PYIH9Gv1fI85d41lO4S932EeX3wHC47sHjMJOMG",
@@ -595,7 +595,7 @@ In this example, the value of `context` is set to **main_routing**, and in the `
595595
<br/>
596596

597597
```bash
598-
curl --location --request PUT 'http://192.168.51.20/api/v4/call/originate/act' \
598+
curl --location --request POST 'http://192.168.51.20/api/v4/call/originate/act' \
599599
--header 'X-APIKEY: 9UV0BWKRL83PYIH9Gv1fI85d41lO4S932EeX3wHC47sHjMJOMG' \
600600
--header 'Authorization: Basic c2FkcjpTYWRyQDEyMw==' \
601601
--header 'Content-Type: application/json' \

Diff for: i18n/fa/docusaurus-plugin-content-docs/current/developers/2-SimotelAPI/v4/4-call-originate.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ import TabItem from '@theme/TabItem';
7676
CURLOPT_TIMEOUT => 0,
7777
CURLOPT_FOLLOWLOCATION => true,
7878
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
79-
CURLOPT_CUSTOMREQUEST => 'PUT',
79+
CURLOPT_CUSTOMREQUEST => 'POST',
8080
CURLOPT_POSTFIELDS =>'{
8181
"caller":"557",
8282
"callee":"552",
@@ -123,7 +123,7 @@ import TabItem from '@theme/TabItem';
123123
<script>
124124
var settings = {
125125
"url": "http://192.168.51.20/api/v4/call/originate/act",
126-
"method": "PUT",
126+
"method": "POST",
127127
"timeout": 0,
128128
"headers": {
129129
"X-APIKEY": "vZKtIKWsld0egNlkzHo8i5LVBqLNBSWARCQsPOSgDjFmAHM3tG",
@@ -160,7 +160,7 @@ import TabItem from '@theme/TabItem';
160160
<br/>
161161
```bash
162162

163-
curl --location --request PUT 'http://192.168.51.20/api/v4/call/originate/act' \
163+
curl --location --request POST 'http://192.168.51.20/api/v4/call/originate/act' \
164164
--header 'X-APIKEY: vZKtIKWsld0egNlkzHo8i5LVBqLNBSWARCQsPOSgDjFmAHM3tG' \
165165
--header 'Authorization: Basic dGVzdDpBYTEyMzQ1Ng==' \
166166
--header 'Content-Type: application/json' \

Diff for: i18n/fa/docusaurus-plugin-content-docs/current/developers/4-Scenarios/3-call_originate.md

+12-12
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ import TabItem from '@theme/TabItem';
5858
CURLOPT_TIMEOUT => 0,
5959
CURLOPT_FOLLOWLOCATION => true,
6060
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
61-
CURLOPT_CUSTOMREQUEST => 'PUT',
61+
CURLOPT_CUSTOMREQUEST => 'POST',
6262
CURLOPT_POSTFIELDS =>'{
6363
"caller":"570",
6464
"callee":"553",
@@ -98,7 +98,7 @@ import TabItem from '@theme/TabItem';
9898
<script>
9999
var settings = {
100100
"url": "http://192.168.51.20/api/v4/call/originate/act",
101-
"method": "PUT",
101+
"method": "POST",
102102
"timeout": 0,
103103
"headers": {
104104
"X-APIKEY": "9UV0BWKRL83PYIH9Gv1fI85d41lO4S932EeX3wHC47sHjMJOMG",
@@ -131,7 +131,7 @@ import TabItem from '@theme/TabItem';
131131
<br/>
132132

133133
```bash
134-
curl --location --request PUT 'http://192.168.51.20/api/v4/call/originate/act' \
134+
curl --location --request POST 'http://192.168.51.20/api/v4/call/originate/act' \
135135
--header 'X-APIKEY: 9UV0BWKRL83PYIH9Gv1fI85d41lO4S932EeX3wHC47sHjMJOMG' \
136136
--header 'Authorization: Basic c2FkcjpTYWRyQDEyMw==' \
137137
--header 'Content-Type: application/json' \
@@ -216,7 +216,7 @@ import TabItem from '@theme/TabItem';
216216
CURLOPT_TIMEOUT => 0,
217217
CURLOPT_FOLLOWLOCATION => true,
218218
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
219-
CURLOPT_CUSTOMREQUEST => 'PUT',
219+
CURLOPT_CUSTOMREQUEST => 'POST',
220220
CURLOPT_POSTFIELDS =>'{
221221
"caller":"09376131239",
222222
"callee":"521",
@@ -257,7 +257,7 @@ import TabItem from '@theme/TabItem';
257257
<script>
258258
var settings = {
259259
"url": "http://192.168.51.20/api/v4/call/originate/act",
260-
"method": "PUT",
260+
"method": "POST",
261261
"timeout": 0,
262262
"headers": {
263263
"X-APIKEY": "9UV0BWKRL83PYIH9Gv1fI85d41lO4S932EeX3wHC47sHjMJOMG",
@@ -290,7 +290,7 @@ import TabItem from '@theme/TabItem';
290290
<summary>نمایش کامل کد Curl</summary>
291291
<br/>
292292
```bash
293-
curl --location --request PUT 'http://192.168.51.20/api/v4/call/originate/act' \
293+
curl --location --request POST 'http://192.168.51.20/api/v4/call/originate/act' \
294294
--header 'X-APIKEY: 9UV0BWKRL83PYIH9Gv1fI85d41lO4S932EeX3wHC47sHjMJOMG' \
295295
--header 'Authorization: Basic c2FkcjpTYWRyQDEyMw==' \
296296
--header 'Content-Type: application/json' \
@@ -382,7 +382,7 @@ import TabItem from '@theme/TabItem';
382382
CURLOPT_TIMEOUT => 0,
383383
CURLOPT_FOLLOWLOCATION => true,
384384
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
385-
CURLOPT_CUSTOMREQUEST => 'PUT',
385+
CURLOPT_CUSTOMREQUEST => 'POST',
386386
CURLOPT_POSTFIELDS =>'{
387387
"caller":"521",
388388
"callee":"09376131239",
@@ -422,7 +422,7 @@ import TabItem from '@theme/TabItem';
422422
<script>
423423
var settings = {
424424
"url": "http://192.168.51.20/api/v4/call/originate/act",
425-
"method": "PUT",
425+
"method": "POST",
426426
"timeout": 0,
427427
"headers": {
428428
"X-APIKEY": "9UV0BWKRL83PYIH9Gv1fI85d41lO4S932EeX3wHC47sHjMJOMG",
@@ -455,7 +455,7 @@ import TabItem from '@theme/TabItem';
455455
<br/>
456456

457457
```bash
458-
curl --location --request PUT 'http://192.168.51.20/api/v4/call/originate/act' \
458+
curl --location --request POST 'http://192.168.51.20/api/v4/call/originate/act' \
459459
--header 'X-APIKEY: 9UV0BWKRL83PYIH9Gv1fI85d41lO4S932EeX3wHC47sHjMJOMG' \
460460
--header 'Authorization: Basic c2FkcjpTYWRyQDEyMw==' \
461461
--header 'Content-Type: application/json' \
@@ -533,7 +533,7 @@ import TabItem from '@theme/TabItem';
533533
CURLOPT_TIMEOUT => 0,
534534
CURLOPT_FOLLOWLOCATION => true,
535535
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
536-
CURLOPT_CUSTOMREQUEST => 'PUT',
536+
CURLOPT_CUSTOMREQUEST => 'POST',
537537
CURLOPT_POSTFIELDS =>'{
538538
"caller":"31041570",
539539
"callee":"09376131239",
@@ -574,7 +574,7 @@ import TabItem from '@theme/TabItem';
574574
<script>
575575
var settings = {
576576
"url": "http://192.168.51.20/api/v4/call/originate/act",
577-
"method": "PUT",
577+
"method": "POST",
578578
"timeout": 0,
579579
"headers": {
580580
"X-APIKEY": "9UV0BWKRL83PYIH9Gv1fI85d41lO4S932EeX3wHC47sHjMJOMG",
@@ -608,7 +608,7 @@ import TabItem from '@theme/TabItem';
608608
<br/>
609609

610610
```bash
611-
curl --location --request PUT 'http://192.168.51.20/api/v4/call/originate/act' \
611+
curl --location --request POST 'http://192.168.51.20/api/v4/call/originate/act' \
612612
--header 'X-APIKEY: 9UV0BWKRL83PYIH9Gv1fI85d41lO4S932EeX3wHC47sHjMJOMG' \
613613
--header 'Authorization: Basic c2FkcjpTYWRyQDEyMw==' \
614614
--header 'Content-Type: application/json' \

0 commit comments

Comments
 (0)