ciyidogan commited on
Commit
8f1f3f5
·
verified ·
1 Parent(s): 55a98ca

Update service_config.json

Browse files
Files changed (1) hide show
  1. service_config.json +9 -9
service_config.json CHANGED
@@ -14,7 +14,7 @@
14
  },
15
  "apis": {
16
  "currency_api": {
17
- "url": "http://localhost:5678/doviz",
18
  "method": "POST",
19
  "headers": [
20
  { "key": "Authorization", "value": "Bearer {auth_tokens.currency_api.token}" }
@@ -25,10 +25,10 @@
25
  "timeout": 5,
26
  "retry_count": 1,
27
  "auth": {
28
- "auth_endpoint": "http://localhost:5678/auth",
29
  "auth_body": { "username": "user", "password": "pass" },
30
  "auth_token_path": "token",
31
- "auth_refresh_endpoint": "http://localhost:5678/refresh",
32
  "refresh_body": { "refresh_token": "{auth_tokens.currency_api.token}" }
33
  },
34
  "response_parser": {
@@ -38,7 +38,7 @@
38
  "reply_template": "{variables.currency} kuru şu an {rate} TL."
39
  },
40
  "traffic_api": {
41
- "url": "http://localhost:5678/yol",
42
  "method": "POST",
43
  "headers": [
44
  { "key": "Authorization", "value": "Bearer {auth_tokens.traffic_api.token}" }
@@ -50,10 +50,10 @@
50
  "timeout": 5,
51
  "retry_count": 1,
52
  "auth": {
53
- "auth_endpoint": "http://localhost:5678/auth",
54
  "auth_body": { "username": "user", "password": "pass" },
55
  "auth_token_path": "token",
56
- "auth_refresh_endpoint": "http://localhost:5678/refresh",
57
  "refresh_body": { "refresh_token": "{auth_tokens.traffic_api.token}" }
58
  },
59
  "response_parser": {
@@ -63,7 +63,7 @@
63
  "reply_template": "{from_location} ile {to_location} arasındaki trafik durumu: {status}"
64
  },
65
  "weather_api": {
66
- "url": "http://localhost:5678/hava",
67
  "method": "POST",
68
  "headers": [
69
  { "key": "Authorization", "value": "Bearer {auth_tokens.weather_api.token}" }
@@ -74,10 +74,10 @@
74
  "timeout": 5,
75
  "retry_count": 1,
76
  "auth": {
77
- "auth_endpoint": "http://localhost:5678/auth",
78
  "auth_body": { "username": "user", "password": "pass" },
79
  "auth_token_path": "token",
80
- "auth_refresh_endpoint": "http://localhost:5678/refresh",
81
  "refresh_body": { "refresh_token": "{auth_tokens.weather_api.token}" }
82
  },
83
  "response_parser": {
 
14
  },
15
  "apis": {
16
  "currency_api": {
17
+ "url": "https://37d7-176-88-34-20.ngrok-free.app/doviz",
18
  "method": "POST",
19
  "headers": [
20
  { "key": "Authorization", "value": "Bearer {auth_tokens.currency_api.token}" }
 
25
  "timeout": 5,
26
  "retry_count": 1,
27
  "auth": {
28
+ "auth_endpoint": "https://37d7-176-88-34-20.ngrok-free.app/auth",
29
  "auth_body": { "username": "user", "password": "pass" },
30
  "auth_token_path": "token",
31
+ "auth_refresh_endpoint": "https://37d7-176-88-34-20.ngrok-free.app/refresh",
32
  "refresh_body": { "refresh_token": "{auth_tokens.currency_api.token}" }
33
  },
34
  "response_parser": {
 
38
  "reply_template": "{variables.currency} kuru şu an {rate} TL."
39
  },
40
  "traffic_api": {
41
+ "url": "https://37d7-176-88-34-20.ngrok-free.app/yol",
42
  "method": "POST",
43
  "headers": [
44
  { "key": "Authorization", "value": "Bearer {auth_tokens.traffic_api.token}" }
 
50
  "timeout": 5,
51
  "retry_count": 1,
52
  "auth": {
53
+ "auth_endpoint": "https://37d7-176-88-34-20.ngrok-free.app/auth",
54
  "auth_body": { "username": "user", "password": "pass" },
55
  "auth_token_path": "token",
56
+ "auth_refresh_endpoint": "https://37d7-176-88-34-20.ngrok-free.app/refresh",
57
  "refresh_body": { "refresh_token": "{auth_tokens.traffic_api.token}" }
58
  },
59
  "response_parser": {
 
63
  "reply_template": "{from_location} ile {to_location} arasındaki trafik durumu: {status}"
64
  },
65
  "weather_api": {
66
+ "url": "https://37d7-176-88-34-20.ngrok-free.app/hava",
67
  "method": "POST",
68
  "headers": [
69
  { "key": "Authorization", "value": "Bearer {auth_tokens.weather_api.token}" }
 
74
  "timeout": 5,
75
  "retry_count": 1,
76
  "auth": {
77
+ "auth_endpoint": "https://37d7-176-88-34-20.ngrok-free.app/auth",
78
  "auth_body": { "username": "user", "password": "pass" },
79
  "auth_token_path": "token",
80
+ "auth_refresh_endpoint": "https://37d7-176-88-34-20.ngrok-free.app/refresh",
81
  "refresh_body": { "refresh_token": "{auth_tokens.weather_api.token}" }
82
  },
83
  "response_parser": {