Skip to content

Tag: postman

countDocuments() is not working in api call

I am trying to get a count of products using api calls but in postman its keep loading without async and await also its not working I try to catch the error and i got this error in postman code to catch error: Answer I think in Mongoose operations you want to either await or provide a callback, but not

How can I visualize an API mashup in Postman?

I have a REST API of classical actors that I want to visualize in Postman. The image URL of an actor is not in the API, so I will need to create a mashup from a combination of the core API and another API. 1. Prerequisites The core API/endpoint is at http://henke.atwebpages.com/postman/actors/actors.json: The…