Added web api config

Add configuration and endpoint for ping.