There should be a configuration file config.json somewhere reasonable (main directory, config subdirectory, etc etc) where you define where the POST goes to. It should not be hard-coded in sourcecode.
Remember not to include configuration files directly in git! there should be a config-template.json that has all of the required configuration values stubbed out. Be sure to add an entry in .gitignore to prevent a deployments config.json from being sucked into git.
There should be a configuration file config.json somewhere reasonable (main directory, config subdirectory, etc etc) where you define where the POST goes to. It should not be hard-coded in sourcecode.
Remember not to include configuration files directly in git! there should be a config-template.json that has all of the required configuration values stubbed out. Be sure to add an entry in .gitignore to prevent a deployments config.json from being sucked into git.
-FT