Guest User

Untitled

a guest
Jan 23rd, 2018
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. // Architecture 2
  2.  
  3. function callApi(x, y, z) {
  4. const request = buildRequest(x, y, z)
  5. return fetch(request)
  6. .then(assertStatus('callApi', x, y, z))
  7. .then(parseResponse)
Add Comment
Please, Sign In to add comment