angular/in-memory-web-api

Is it possible to do post requests?

modiract opened this issue · 3 comments

Like the title says.

yes 😄

Im not clear on this. Do you mean that you can issue a post with a body to update a record in the data service_ Because, if you want to use this to stub out data from an endpoint that acts like a get .. like with req body = { num: 10 }, you dont get back all the results , or obviously ten would be kinda magical, ... instead you just get back your request body

I'm sorry but this is like a half year ago. I don't know what I have done after this question. I think I used Angular http interceptors.