Unable to use /check_username/

Posted in General by Larko Mon Mar 16 2015 21:18:21 GMT+0000 (Coordinated Universal Time)·1·Viewed 696 times

Hello, When I try to use the check_username GET API, I always get an HTTP error 405. Whereas I don't have any issue sending a Yo with the API. My python code is the following: import urllib import urllib2 api_token = 'xxx' values = {'api_token': api_token, 'username': 'LARKO'} data = urllib.urlencode(values) url = 'https://api.justyo.co/check_username/' req = urllib2.Request(url, data) response = urllib2.urlopen(req) print response.info() Any idea what could be the issue? Thanks and regards, Michael
Or Arbel
Mar 24, 2015

Are you using a POST request?

  
Markdown is allowed