HTTP api for the node relay