Those settings should be right for the XBee Wifi. Are you sure the unit is connected properly to your wifi? Can you connect the unit to XCTU and try to send a test json in the console log of XCTU?
That example sketch should still work, but for anything new I would recommend you switch to using the ModularSensors library to send data to the EnviroDIY portal.
@aufdenkampe – the S6B wifi units cannot work with url’s/domain names, only IP addresses. You must use command mode to first get the IP from the domain and then change the IP. I think only the very latest firmware on some of the cellular units can accept a fully qualified domain name without first manually doing the lookup.