This commit is contained in:
parent
d673187659
commit
649d37d14c
|
@ -29,5 +29,3 @@ Obtain an admin GWT: `curl -d '"api-key-goes-here"' -H "Content-Type: applicatio
|
|||
Use a bearer token to make a call: `curl -H "Content-Type: application/json" -H "Authorization: bearer your-JWT-token-goes-here" -i http://localhost:4000/account/{accountID}`
|
||||
|
||||
Create account: `curl -d '{"name": "Bosse", "password": "Hemligt", "fields": [{ "name":"role", "values":["user"]}]}' -H "Content-Type: application/json" -H "Authorization: bearer your-JWT-token-goes-here" -i http://localhost:4000/account`
|
||||
|
||||
y
|
|
@ -167,6 +167,4 @@ test('test-cases/01basic.js: Remove an account', async t => {
|
|||
} catch (err) {
|
||||
t.equal(err.message, 'Response code 404 (Not Found)', 'Response status for GETing the account again should be 404');
|
||||
}
|
||||
|
||||
// Adding a comment just to modify the code, this can be removed.
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue
Block a user