Force G to a string when sending data
Add apiHost and apiPort to config