angular / in-memory-web-api

The code for this project has moved to the angular/angular repo. This repo is now archived.
MIT License
1.18k stars 231 forks source link

Can create function interceptors all HTTP method but not for 'POST' #175

Closed maxamon closed 6 years ago

maxamon commented 6 years ago

I've add into my class 3 methods

  get(reqInfo?: RequestInfo) {
    console.log(reqInfo);
    return undefined;
  }
  put(reqInfo?: RequestInfo) {
    console.log(reqInfo);
    return undefined;
  }

  post(reqInfo?: RequestInfo) {
    console.log(reqInfo);
    return undefined;
  }

Post method doesn't work!