Any ideas?
When I run this from the command line it works:
curl 'http://mydomain.com/shop/rest/default/V1/customers/me' \
-H 'Cookie: PHPSESSID=pu43ktdb8sruen2girkkkajr03;' \
-H 'Content-Type: application/json' \
-H 'X-Requested-With: XMLHttpRequest'
I got the current session ID from chrome dev tools.
In admin my Cookie Settings under stores/configuration/genera/web are:
Cookie Lifetime: 86400
Cookie path: /
Cookie Domain: (empty)
Use HTTP Only: YES
Cookie Restriction Mode: No
Do I need to change any of the session validation settings?