Skip to content

Commit

Permalink
Update the settings of the REST client
Browse files Browse the repository at this point in the history
  • Loading branch information
cedx committed Sep 8, 2024
1 parent d5f3c45 commit 46a706d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@
"[yaml]": {"editor.insertSpaces": true},
"rest-client.environmentVariables": {
"development": {
"apiUrl": "https://smsapi.free-mobile.fr",
"password": "FREEMOBILE_API_KEY",
"username": "FREEMOBILE_ACCOUNT"
"apiUrl": "https://smsapi.free-mobile.fr"
}
}
}
4 changes: 2 additions & 2 deletions share/api/send_message.http
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
### Sends a SMS message to the specified Free Mobile account.
GET {{apiUrl}}/sendmsg?
user={{$processEnv %username}}
&pass={{$processEnv %password}}
user={{$processEnv FREEMOBILE_ACCOUNT}}
&pass={{$processEnv FREEMOBILE_API_KEY}}
&msg=Hello World!

0 comments on commit 46a706d

Please sign in to comment.