fabric-samples/asset-transfer-basic/rest-api-typescript
James Taylor 05f7026e58 Update api key header
Use more common X-Api-Key header with no prefix

Also updates Unauthorized response to include a json error body
and simplifies working with new API key via curl and the vscode
rest client

Signed-off-by: James Taylor <jamest@uk.ibm.com>
2021-12-14 14:31:13 +00:00
..
scripts apikey auth for Org1 2021-12-14 14:31:13 +00:00
src Update api key header 2021-12-14 14:31:13 +00:00
.env.sample Initial create asset logic 2021-12-14 14:14:56 +00:00
.eslintrc.json Initial REST API skeleton 2021-12-14 14:14:56 +00:00
.gitignore Initial REST API skeleton 2021-12-14 14:14:56 +00:00
.prettierrc.json Initial REST API skeleton 2021-12-14 14:14:56 +00:00
demo.http Update api key header 2021-12-14 14:31:13 +00:00
package-lock.json apikey auth for Org1 2021-12-14 14:31:13 +00:00
package.json apikey auth for Org1 2021-12-14 14:31:13 +00:00
README.md Initial REST API skeleton 2021-12-14 14:14:56 +00:00
tsconfig.json Enable alwaysStrict compile option 2021-12-14 14:14:56 +00:00

Asset Transfer REST API Sample

Prototype sample REST server to demonstrate good Fabric Node SDK practices