-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(backend): return Open Payments wallet address by default, make G…
…ET spsp accept header explicit
- Loading branch information
Showing
6 changed files
with
66 additions
and
25 deletions.
There are no files selected for viewing
27 changes: 27 additions & 0 deletions
27
bruno/collections/Rafiki/SPSP/Get SPSP Payment Pointer.bru
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
meta { | ||
name: Get SPSP Payment Pointer | ||
type: http | ||
seq: 1 | ||
} | ||
|
||
get { | ||
url: {{receiverWalletAddress}} | ||
body: none | ||
auth: none | ||
} | ||
|
||
headers { | ||
Accept: application/spsp4+json | ||
} | ||
|
||
script:pre-request { | ||
const scripts = require('./scripts'); | ||
|
||
scripts.addHostHeader("senderOpenPaymentsHost"); | ||
} | ||
|
||
tests { | ||
test("Status code is 200", function() { | ||
expect(res.getStatus()).to.equal(200); | ||
}); | ||
} |
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