I'm using Gitpod for my laravel application. Although the frontend is working perfectly, I cannot save data to my mysql database(gives me 405 method error whenever I signup). I tried to investigate this issue and found out that Gitpod is using "http" for submitting my form. But the client's URL is in https (https://8000-*****.gitpod.io/)
. How do I change the form submission action to "https" so it would match the URL?
Asked
Active
Viewed 140 times
0

Akash Kumar Verma
- 3,185
- 2
- 16
- 32

Ivan Ray Maple Buglosa
- 7
- 1
- 4
-
Can you share a repository or snapshot (https://www.gitpod.io/docs/sharing-and-collaboration/#sharing-snapshots)? – Sven Efftinge Feb 14 '20 at 07:46
-
@SvenEfftinge https://gitpod.io#snapshot/d8a80080-1e05-413e-9402-034656bd204f – Ivan Ray Maple Buglosa Feb 14 '20 at 07:54
-
@SvenEfftinge I can also share my running workspace if you want to. I've been trying to fix this for hours now. – Ivan Ray Maple Buglosa Feb 14 '20 at 08:36
-
I don't know how to initialize your database. So I'm getting 500 from the server because of missing tables. Could we move conversation over to community.gitpod.io it's easier to chat there. – Sven Efftinge Feb 17 '20 at 07:36