Skip to content
Advertisement

Google Drive API v3: Invalid field selection

I am using Google Drive API v3 to access about the drive like space quota. And, no matter what I do, I am stuck with this error: Please check that I am already making a perfect URL for the call: GET https://www.googleapis.com/drive/v3/about?fields=name But, still there is this error. Is there any parameter I am missing? Please, can anyone tell me

Office 365 api in PHP

I’m trying to make an calendar view for my company to show which employees are available. I made an app in Azure, I can logon in to the system, I get an access token, but I can’t get information. I build the request url using curl and send this header with my request And all I get as a response

Laravel – custom .env file

Laravel assumes that .env file should describe environment, and it should not be committed to your repo. What if I want to keep both .env files for dev and production (say .env-production and .env-…

Run only one unit test from a test suite in laravel

Using phpunit command Laravel will run all unit tests in our project. How to run one or specific Unit Tests in Laravel 5.1? I just want to run testFindToken from my test suite. Answer Use this command to run a specific test from your test suite. If you want to be more specific about your file then pass the file

Integrate carbon library in codeigniter 3

i’m having hard time trying to integrate the grate DateTime Library carbon library with in my project in codeigniter 3 I tried this $this->load->library(‘carbon’); and it’s give me an error not …

Laravel str_slug not working for unicode bangla

I am working in a laravel project. I have slugged url. Its working fine for English language. But while I use Bangla it returns empty. Please help me to solve the issue. Answer str_slug or facade version Str::slug doesn’t work with non-ascii string. You can instead use this approach

Advertisement