Skip to content
Advertisement

Tag: api

Handling rate limits when using an API in Laravel

In my Laravel application I am using the HubSpot API extensively to perform various actions. I have read in the documentation that you can make 150 requests per each 10 second period. To monitor this HubSpot provide the following Headers when making any API call. In my application I am making use of Laravel’s Http Client, which is basically just

React + Firebase + custom PHP API?

I’ve created a custom PHP API that at the moment is only hosted on my local machine as there is no authentication required to access it. My front end is built in react with firebase as the user authentication system. My question is, once a user has successfully logged in, how do I then enable my application to access my

Logging into a soap API with cURL and Laravel

I’m having some trouble with this. I am trying to login to a Soap API with SSL I have generated the .pem file and can verify it is good by doing the following The following give me HTTP/1.1 202 Accepted Now, when I essentially try to do the same thing within a laravel controller with the following, I get the

How can I set an api token in php?

I am currently working on my website, so at the moment I have a website which I made with Bubble.io (no-code), and what I want to do is develop a CRM website with php , what I want to do is connect my database from my Bubble.io website to be able to use the data on my CRM website, Bubble.io

React can’t get response body from PHP API

I’m trying to send a POST request to my PHP file and get a response. The response is sent with code 200, however, I don’t see what PHP returns. Here is my react code: And here is my PHP code: Logging response on console returns me: I can’t get the “data” out of PHP. Answer

Fetch featured product only from product table in Api

Product Table where i want to fetch only featured product. I have defined a column in database product_type in which four types of products(hot deals, newly listed, deals of the day and featured product)strong text can be listed which is optional. Blockquote When i try to fetch whole product list in api i get the result but i want to

ResellersPanel API is giving me domain errors even after I put the “domain” type

I am using Resellers Panel API. I am trying to create a simple order form in PHP. I am following this documentation : https://cp.resellerspanel.com/downloads/ResellersPanelAPI.pdf I manage to go this far. It accepted all the inputs fine. until I got to the domains. it gives me these error. No type provided for domain h.h, must be register, transfer or existing or

Roblox API ( Avatar Equipment )

I am currently working on Roblox API. I am stuck on one question. Reason : I have this link https://avatar.roblox.com/v1/users/2/currently-wearing. This shows what specified users have equipped on them. this link right here shows this: {“assetIds”:[382537569,607702162,607785314]} My goal is to get the assetIds to string. I tried this: But it Shows Array. I need some help. Answer The cURL is

Advertisement