Normally all RESTful calls should be asynchronus for non-blocking, but I would like to first make a GET call so that for any given user I can get its corresponding id which will be needed for subsequent PUT call to modify another user attribute
My question is it better to make GET to be synchronous so that the second PUT call won’t start until the first GET is completed since it is dependent on its return value? Or can I use Promise or other ways to make everything all asynchronous?
Go with asynchronous and promises or async/await. Both support chaining so you can wait for one request to complete before starting the next. If you’re interested in using async/await with Meteor 1.3, check out: