mardi 13 octobre 2020

How to get array object from response of webhook in laravel?

I am getting reponse from webhook.

but it is in this format

POST /webhook HTTP/1.1
Accept-Encoding:   gzip
Content-Length:    196
Content-Type:      application/json
Host:              c56299f0492f.ngrok.io
User-Agent:        GuzzleHttp/6.5.4 curl/7.58.0 PHP/7.3.19-1+ubuntu18.04.1+deb.sury.org+1
X-Forwarded-For:   18.207.102.87
X-Forwarded-Proto: https

{"name":"test","email":"test2@gmail.com","enabled":true,"level":"3","location":{},"language_id":4,"login_type":-1,"updated_at":"2020-10-13 17:48:15","created_at":"2020-10-13 17:48:15","id":119166}

how I can each property from this reponse?



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2IrncHs
via IFTTT

Aucun commentaire:

Enregistrer un commentaire