You are POSTing with the wrong headers:
Fabulous!
You are spot on...dereferencing $header makes it work as it should :) Many, many thanks.
Bizarrely, the hashref worked to authorise a GET call to a different endpoint to fetch information about the current user. I used that to check that the headers were being passed correctly. Strange how it works for a GET but not a POST.
In reply to Re^2: Brackets in LWP Post
by Bod
in thread Brackets in LWP Post
by Bod
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |