DEV Community

Avinash Dalvi
Avinash Dalvi

Posted on

1 1

How to get response return from another function in onFulfilled in guzzle promise

I am using local function to create promise. Trying to call external method in promise onFulfilled and returning response of method. When I am trying to resolve promise by passing parameter its printing response but not returning exact response, its returning something different. What is best way to get response…

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more