Thank you for your support.
@webnotes.whitelist()
def get_details(username,password):
res=webnotes.conn.sql("select count(name) from tabAccount")
return cstr(res)+"--"+username+"--"+password
I get response if this url called from browser.
I have following queries,
1. These methods need authentication or session. (if i removed webbrowser.open line. it does not work.) . can I use these methods without authentication?
2. I have used this as get (calling from webborwer.) .How can i implement this to post json as request.
Thanks and regards,
Gangadhar kadam