Skip to content
Advertisement

Tag: api

API working well on POSTMAN but giving error in Curl PHP

I am trying to fetch the record from the api. It’s working correctly on postman but giving the error when I use curl in php. Here is my PHP Code: Here is the error I am getting after curl: error after curl option On the Postman it’s giving the result perfect as expected: postman result Furthermore api url working perfect

Laravel/Angular “Password Expired” auth flow

I am using Laravel 7.* for my API and Angular 9 for my frontend. I am having trouble figuring out how to handle Password Expiration responses from my api. My current auth workflow is this: Angular POST /login request to API with an expired password API receives POST request, authenticates the credentials. If authenticated, API checks to see if the

Get php input values

My goal is to have a WordPress form that when posting, send the input to an API into an ERP. Right now it seems that the values are empty when sending the way I do. In CURLOPT_POSTFIELDS if instead of …

Undefined index on laravel8

I’m learning to display public API data from http://batikita.herokuapp.com/index.php/batik/all I have tried to display data with the following syntax: InfoController.php index.blade.php And the result is like this: enter image description here What is the correct syntax for displaying data from the public API with laravel8? Please help, thank you. Answer Your error doesn’t actually have something to do with Laravel,

How can PHP pull the JSON data from VIMEO API and print it on XML file?

I am calling the following Vimeo API to return all the videos under the specific videos. What I was trying to achieve is to only pull the particular JSON data that I desire to. “uri” and “name” is the only data that i need. And how can I print this thing to a XML file? https://developer.vimeo.com/api/reference/folders#get_project_videos BTW this is my

Trigger laravel event from wordpress

I’m currently working on a laravel app. The same app is already running on wordpress and through the laravel application we are going to add some additional features in original application. The laravel will run on the subdomain. Here is the thing: On wordpress website, we are publishing different public articles but on the publishing of these articles we need

Advertisement