title: VIPTELA SDWAN API call issue
body: <p>Need your expert advise on calling a API. </p>
  <p>i was trying to build a script for calling a devices information in Viptela SDWAN. At my home lab script worked as expected, but moment i changed the URL to live office Vmanage hosted on AWS, it gives me error and script was not able to login. however via internet explorer i was able to login into Vmanage GUI.</p>
  <p>below is the configuration and error msgs i was getting. any advise will be helpful.</p>
  <p><strong>Error's:</strong></p>
  <pre><code>Traceback (most recent call last):
  File &quot;C:/Users/XXXXXXX/Desktop/New folder (2)/apicallproject.py&quot;, line 123, in &lt;module&gt;
  my_login()
  File &quot;C:/Users/XXXXXXX/Desktop/New folder (2)/apicallproject.py&quot;, line 24, in my_login
  response = session.post(url=login_url, data=login_credentials, verify=false)
  NameError: name 'false' is not defined
  
  Process finished with exit code 1
  </code></pre>
  <p><strong>+++++++++++++++With Verification set to true++++++++++++++++++++++</strong></p>
  <pre><code>Traceback (most recent call last):
  File &quot;C:/Users/XXXXXXX/Desktop/New folder (2)/apicallproject.py&quot;, line 123, in &lt;module&gt;
  my_login()
  File &quot;C:/Users/XXXXXXXX/Desktop/New folder (2)/apicallproject.py&quot;, line 24, in my_login
  response = session.post(url=login_url, data=login_credentials, verify=true)
  NameError: name 'true' is not defined
  
  Process finished with exit code 1
  </code></pre>
  <p><strong>Below is the python script which is working fine at my home LAB:-</strong></p>
  <pre><code>ur = input (&quot;Enter the path to Vmanage :&quot;)
  
  name = input(&quot;Please enter your user name:&quot;)
  passw = input(&quot;Please enter your password:&quot;)
  
  def my_login():
  
  
  login_url = '%s/j_security_check'%ur
  login_credentials = {'j_username': name, 'j_password': passw}
  
  session = requests.session()
  
  response = session.post(url=login_url, data=login_credentials, verify=false)
  
  if b`'&lt;html&gt;'` in response.content:
  
  print('Login Failed')
  
  else:
  
  print('Login Success')
  </code></pre>