Added API for availability set
Bug Fix: HTTP 307 Redirection error