Skip to content
Advertisement

Tag: api

Hide the tables until the response is sent

I have a problem, make a small script to track packets over the Internet. It works properly, the problem is that before the client sends its guide number the tables are already displayed (empty) and once the guide is put on, the data that pulls from the API already appears. Is there a way that as long as the send

Perfexcrm api return 419 status code, how solve it?

I use perfexcrm api in my web application. As its document I pass the URL in postman and also pass authentication token in headers of postman and company name in params in postman. I try to fetch all customers so I use api/customers as a URL and as a method I use POST for this. But as a output postman

Laravel fetch data by something else than id

So I’m a total newbie in laravel and I don’t know if it can be done but I saw that in the controller I can display data of a specific ‘id’ with this in my api.php: And this in my BookController.php : I’m using Angular for the front and I have a searchbar to search by ‘title’ of a book,

php curl reponse not showing

php curl response not showing please help to fix. when I run this code I do not get any response from recharge.php file here is recharge.php file Answer try this code, hope it will help you— your current file — recharge.php and also you should put return/die/exit after echo statement to avoid the code execution after json_encode

Add record in ZOHO API

I am trying to add a record (contact) to the ZOHO database using their API after submitting an order. This requires an authorization token with a validity of 60 minutes which I can generate with a grant token, but which I can only generate with user interaction (GET). Is there a way to get a grant token without user interaction?

Laravel PUT relationship

Fiddling with Laravel and coming from Symfony, I’m trying to replicate some code. I’m trying to PUT a Suggestion model (overwritting anything, even relationships) and wanted to know the proper way to overwrite the model. Since tags attribute in fillable doesn’t exist, I certainly get an error (Undefined column: 7 ERROR: column “tags” of relation “suggestions” does not exist). Suggestions

Advertisement