Home › Forums › General Questions › How to make the Local server support POST requests?”
- This topic has 7 replies, 5 voices, and was last updated 1 year, 1 month ago by
kdv.
-
AuthorPosts
-
2023-09-24 at 2:28 am #67084
aqiang
Customer“The ‘load data’ puzzle supports GET requests to the local server, while ‘send data’ does not support POST requests to the local server. Without creating a custom server, can the current server be made to support POST requests? Any advice is appreciated. Thank you.”
Attachments:
You must be logged in to view attached files.2023-09-25 at 12:01 pm #67105Yuri Kovelenov
StaffHi,
the local server is mostly intended to run the App Manager, not to handle requests from an application. On the other hand, the send data puzzle can be used precisely for that, for example, coupled with the WordPress plugin.
2023-09-25 at 7:25 pm #67117Crunch
CustomerYes you can do it all locally. I am setup with Laragon (I highly recommended getting Laragon for your local server…. its a dream compared to xxamp.
I got things configured so I run Laragon at the same time out of the same dir as Verge and its pretty slick. I can share my setup with you but won’t have time to get this until next week.
Sorry to tease. But i know for sure I got it all working with the standard send data puzzle.
2023-09-26 at 11:20 am #67122Crunch
CustomerOk, here is my sweet setup. When a job calls for server stuff, I run Laragon along side Verge and have the default directory pointed to same directory as my verge apps. The sub folder I put all my php server stuff is labeled “W”… which of course shows up in Verge manager as an app but we all know its really not an app.
Create a php file to receive the output of your post puzzle, easy cheezy
Attachments:
You must be logged in to view attached files.2023-10-14 at 3:50 pm #67605bigmike814
Customerthat’s what she said
2023-10-15 at 9:33 am #67616aqiang
CustomerYuri,Crunch,Thank you for your responses. It’s possible that my previous description wasn’t accurate, which led to answers that didn’t address my actual issue. My idea was to create a custom control panel similar to dat.gui, and I wanted a ‘Save’ button to store the panel’s data in a local JSON file. However, your suggestions have opened up new possibilities, and I eventually found the simplest solution to be saving the data to the browser’s localStorage. Thanks!
-
This reply was modified 1 year, 4 months ago by
aqiang.
Attachments:
You must be logged in to view attached files.2023-11-18 at 4:03 am #68627kdv
Participantthe send data puzzle can be used precisely for that, for example, coupled with the WordPress plugin.
Is this instruction about uploading still actual?
https://www.soft8soft.com/docs/manual/en/introduction/Wordpress-Plugin.html#uploading_filesCan’t make it work on on a local server (Laragon) with WordPress installed
Puzzles and JS coding. Fast and expensive.
If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.
2024-01-23 at 6:24 am #69880kdv
ParticipantThere is an issue with uploading:
These links are not working when the
Permalinks
option (in WordPress settings) is set toPlain
. But they are working withPost name
.Puzzles and JS coding. Fast and expensive.
If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.
-
This reply was modified 1 year, 4 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.