La conexión con alai funciona

This commit is contained in:
2026-05-04 15:12:53 +02:00
parent 113d9f3786
commit 189de6c0fb
12 changed files with 105 additions and 8 deletions

View File

@@ -6,7 +6,8 @@ info:
http:
method: POST
url: "{{baseurl}}/v1/order"
auth: inherit
auth:
type: bearer
settings:
encodeUrl: true

22
docs/sim-alai/SIM.yml Normal file
View File

@@ -0,0 +1,22 @@
info:
name: SIM
type: http
seq: 4
http:
method: GET
url: "{{baseurl}}/v1/sim/{{iccid}}"
auth:
type: bearer
token: ""
runtime:
variables:
- name: iccid
value: "8934909001500561503"
settings:
encodeUrl: true
timeout: 0
followRedirects: true
maxRedirects: 5

View File

@@ -0,0 +1,16 @@
meta {
name: Preactivate
type: http
seq: 2
}
get {
url: {{baseAlai}}/preactivate
body: none
auth: inherit
}
settings {
encodeUrl: true
timeout: 0
}

View File

@@ -0,0 +1,20 @@
meta {
name: Select SIM
type: http
seq: 1
}
get {
url: {{baseAlai}}/select/?iccid=8934909001500561503
body: none
auth: inherit
}
params:query {
iccid: 8934909001500561503
}
settings {
encodeUrl: true
timeout: 0
}

View File

@@ -0,0 +1,8 @@
meta {
name: Alai
seq: 15
}
auth {
mode: inherit
}

View File

@@ -1,4 +1,5 @@
vars {
baseurl: http://localhost:3000
baseAlai: http://localhost:3002
}
color: #2E8A54