Advertisement
ostyleo

Untitled

Jan 18th, 2019
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. addRequest(request: Request): Observable<Request> {
  2. const nr = request.job.id;
  3. const url = this.URL + `/jobs/secure/${nr}/application/request`;
  4. const body = JSON.stringify(request.to);
  5. return this.http.post<Request>(url, body, this.options);
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement