I have a backend that I built and now I want to use it with api calls. I created same model with backend and built this service. is this wrong logic? and also how do I make a put obj?