signadot/examples

Remove the need to add api-key everywhere

Closed this issue · 2 comments

@foxish : I have made these changes to java and sdk demos to not set the header directly while running the tests.

Commit: 1fb5716

  • Java example: I am building a spec that is passed when running a test.
  • Node example: It's almost the same thing, but just a little cleaner way of passing an already created options object with headers set to it. I resorted to this after the attempt to pre-set the header to axios object didn't work because of caching issues.

Lmk if you think this needs further improvement.

Looks good! Thanks @jmsktm