Get Origin header

Does this work? I don’t seem to be able to get the Origin header when I tried pinging my worker. Only works on the dashboard, but when I tried in Postman, it gives an empty result.