LARAVEL CORS - Solving CORS ISSUE using Index php in Laravel Public Folder 2021

  Рет қаралды 9,555

Deepcode Innovations

Deepcode Innovations

Күн бұрын

Пікірлер: 23
@michaelokorie6740
@michaelokorie6740 3 жыл бұрын
Can't over-emphasise how grateful I am for this tutorial - thanks a lot
@deepcodeinnovations1176
@deepcodeinnovations1176 3 жыл бұрын
Thank you. Please Subscribe, will give you more hints. If you have any other problem, don't hesitate to ask
@Imagine51204
@Imagine51204 Жыл бұрын
I have been struggling on this issue since 2 hours and came to this topic and its just awesome... But I would like to know why same settings for headers does not work in cors.php file which is inside config folder of laravel.
@deepcodeinnovations1176
@deepcodeinnovations1176 Жыл бұрын
Am happy to help. Sometimes, frontend applications may misinterpret an error response from the backend as a CORS error. This can happen if the frontend code is not handling error responses properly or if it assumes any unexpected response is related to CORS. Therefore that way it defines the errors but usually the config works well
@deepcodeinnovations1176
@deepcodeinnovations1176 Жыл бұрын
Feel free to donate throught this link to keep our work going forward flutterwave.com/donate/raj7ify43ivs
@alexloved6164
@alexloved6164 3 жыл бұрын
great, the video was helpful,
@deepcodeinnovations1176
@deepcodeinnovations1176 3 жыл бұрын
Glad to hear it!
@TestSpartanBots
@TestSpartanBots Жыл бұрын
how can we get dynamic values in place of $allowedOrigins please answer ASAP
@deepcodeinnovations1176
@deepcodeinnovations1176 Жыл бұрын
Sorry i didn't see your comment. Let me know if you still need assistence
@DanishShah72
@DanishShah72 Жыл бұрын
If the CORS are disable from HOSTING, we cannot enable it what I understand .
@gurukiranbadiger8343
@gurukiranbadiger8343 Жыл бұрын
can you please send me that code?
@deepcodeinnovations1176
@deepcodeinnovations1176 Жыл бұрын
Let me know if you still need assistence
@sikanderdugal7818
@sikanderdugal7818 2 жыл бұрын
Bro you are a life saver. you saved my life. i was in hell for 7 days. Your solution worked. I had tried almost every solution on internet. Thanks aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa lot.
@deepcodeinnovations1176
@deepcodeinnovations1176 Жыл бұрын
Thanks for appre
@SergiuBurduja-y1l
@SergiuBurduja-y1l 2 жыл бұрын
And where is the code?
@DanishShah72
@DanishShah72 Жыл бұрын
Not working in my case :-(
@deepcodeinnovations1176
@deepcodeinnovations1176 Жыл бұрын
@@DanishShah72 Let me know if you still need assistence
@ojangolejordan4819
@ojangolejordan4819 3 жыл бұрын
are you ugandan?
@deepcodeinnovations1176
@deepcodeinnovations1176 3 жыл бұрын
yes please
@shivshankar654
@shivshankar654 2 жыл бұрын
Access to XMLHttpRequest at 'localhost:8000/api/tutorials' from origin 'localhost:3000' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, chrome-untrusted, https. still there is error
@deepcodeinnovations1176
@deepcodeinnovations1176 2 жыл бұрын
Hey, let me see part of your code please. I will help you sort your issue
@shivshankar654
@shivshankar654 2 жыл бұрын
@@deepcodeinnovations1176 i solved it
@romacode
@romacode 2 жыл бұрын
@@shivshankar654 how did you solve it?
Don't Use Websockets (Until You Try This…)
6:46
Code With Ryan
Рет қаралды 327 М.
CORS in 100 Seconds
2:31
Fireship
Рет қаралды 584 М.
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 53 МЛН
So Cute 🥰 who is better?
00:15
dednahype
Рет қаралды 19 МЛН
Why is Laravel NOT used in Big Development Projects?
11:53
Stefan Mischook
Рет қаралды 184 М.
The TRUTH About Golang Backend Frameworks
6:31
Melkey
Рет қаралды 136 М.
Debugging Laravel Sanctum CORS errors
6:57
cdruc
Рет қаралды 3,2 М.
Solving one of PostgreSQL's biggest weaknesses.
17:12
Dreams of Code
Рет қаралды 222 М.
Fix Your CORS Errors!
7:50
Covalence
Рет қаралды 1,6 М.
Should you use PHP Laravel for Freelance?
5:50
Stefan Mischook
Рет қаралды 68 М.
I built 10 web apps... with 10 different languages
14:23
Fireship
Рет қаралды 1,7 МЛН