I find out that even I let away the second argument of the request function I get the 301 error.
When I set the host to thethingsnetwork.org I get 200: 'OK'.
Thanks for that!
Still when I use the '/api/v0/nodes/03FF8124' in the request argument I get 301.
More suggestions?
EDIT: I solved the problem an extra slash was needed at the end of the argument thus:
/api/v0/nodes/03FF8124/
for example:
/api/v0/nodes/03FF8124/?limit=1