rahy
1
I see that to create new doc on remote server can be achieved via 2 ways:
- using REST POST to directly create a new doc on remote.
- using RPC POST to trigger a method on remote that runs
frappe.new_doc(doctype-name)
.
I’m not a developer so I have these questions:
- which one is considered best practice?
- which is more efficient, safe, etc?
- if both ways are the same, when to use each?
Thank you.
1 Like
This thread might be helpful to you.
1 Like