Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- functionBlah () {
- let options = { FIRST REQUEST to an api };
- request.get(options).then(body => { .... }).then(result => let options = { NEW REQUEST to another api }; request.get(options).then(body .....)
- ...
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement