-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1264 from nyaruka/fix-dtone
Update DT One requests
- Loading branch information
Showing
8 changed files
with
44 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 4 additions & 1 deletion
5
services/airtime/dtone/testdata/TestClient_lookup_mobile_number.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
GET /v1/lookup/mobile-number/+593979123456 HTTP/1.1 | ||
POST /v1/lookup/mobile-number HTTP/1.1 | ||
Host: dvs-api.dtone.com | ||
User-Agent: Go-http-client/1.1 | ||
Content-Length: 33 | ||
Authorization: Basic a2V5MTIzOnNlc2FtZQ== | ||
Content-Type: application/json | ||
Accept-Encoding: gzip | ||
|
||
{"mobile_number":"+593979123456"} |
2 changes: 1 addition & 1 deletion
2
...testdata/TestClient_transaction_sync.snap → ...estdata/TestClient_transaction_async.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.