--
Note:
If you are posting an issue,
1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
End of Note
---
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/e6e3dcff-bbde-4891-b272-500b4d43b58b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On 04-Jul-2014, at 9:41 am, Nguyen Do Le Bao <natha...@gmail.com> wrote:
Hi guys,According to this https://frappe.io/apps/frappe-framework/developers/api/rest_api , we would be login using API by calling to /api/method/login.But what I don't understand is if client does not have session, we cannot really detect whether the subsequent API calls are authenticated, right ?In that case, is there any recommendation ? I am thinking of using a generated token and keep passing that on subsequent calls.Will that be ok ?Thank you!!!--
Note:
If you are posting an issue,
1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
End of Note
---
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+unsub...@googlegroups.com.
Hi rushabh,Thank you for this, but if my client side is using sth else and cannot have session ?
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/82e6da14-ef93-4039-a81c-e19ee9c86cf9%40googlegroups.com.
Hi,I actually can get the sessionid and pass back to server on subsequent callsBut then it's a bit insecure
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/6bcb0a97-f3ee-4843-9693-90292ca81b2e%40googlegroups.com.