When I send an HTTP request to create a record, I am able to see the added record id in the Network section of browsers like Chrome and Firefox. However, when I try to debug the code and retrieve the same id value, I encounter difficulties. I have tried using promises and various other methods, but the issue persists on my PC only. Despite closing antivirus apps, clearing browser history, restarting both the PC and the application, the problem still remains unresolved.
this.myservice.create(<Employee>{ name: data.name, surname: data.surname })
.pipe(
tap((result) => {
// --> Expecting to receive result as id value from the
// Network tab of the Google Developer Tools
...
It's worth noting that my service returns an observable without any issues. The problem likely lies within the browser or PC settings, such as firewall configurations.