and return a non-JSON result something like “Az1Bx2Cc3Dv4E5bF6nG8mHr7ItJh9KjLp” which is hashed.
how I can get this kind of return or unstructured returns such as 1 for success and -1 for failures?\
I think your assignment to this.dato is misguided. It looks like you’re expecting that to give this.dato the response that is coming back from the backend. It isn’t. It’s assigning the Observable representing the HTTP request. I’m almost positive that’s not what you want to do; instead you likely want: