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
Tag: api
How can I list the values & make variable with the values of this json? (In PHP)
So I have tried that: but I didn’t get anything as output. I have this json object: So how can I get & list the values of these? I will be very happy if someone can help me with this. I’m begginer with json values :/ Answer You are returning an array of arrays. You need to access them using
cURL request (with Stripe API) slowing down page load times – optimal way to make the request?
I’m making a call at the beginning of each page of my site to Stripe (a payment/subscription service) using its API in PHP. I need to check if at any point the subscription has failed/changed so they lose access to the current page. The problem is that it seems to be slowing down my pages a lot, causing noticeable issues
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,
Laravel controller store data received in camel case format
I’m working with multiple controllers where I receive inputs in camel case format and I need to assign these properties to a model: The problem is that my model has around 30 properties and I don’t want to write them one by one. I know that I can use the request to get all the properties: Is there a way
Add array form data in google sheets api through PHP
I am using google sheets API in PHP to add my html form data in google spreadsheet. All other data have been appended in the respective cell of the sheet since each value had single data except one data which is in array since the html input data is in multiple checkbox. My google sheet form: And my code in
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