SHARE
TWEET

Untitled

a guest Jun 15th, 2019 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. excluir(codigo: number): Promise<void> {
  2.  
  3.  let headers = new HttpHeaders();
  4.  headers = headers.set(
  5.     'Authorization',
  6.     'Basic YWRtaW5AYWxnYW1vbmV5LmNvbTphZG1pbg==');
  7.  
  8.  return this.http
  9.    .delete(`${this.lancamentosURL}/${codigo}999`, { headers: headers } )
  10.    .toPromise()
  11.    .then( response => null)
  12.    .catch(error => error);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top