Cannot seem to force to POST... #2568
carlbeechvuw
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi
Working with V2 - on both Grid and Form objects, I always get GET style data rather than POST... I'm using php with a front end web page which uses w2ui - and the PHP always reports comms as being GET. (As its the receiving PHP, I can't do a jsfiddle to demonstrate I'm afraid...)
Here's the front end code:
When I make a change and click save, I've got PHP sending information to a log file - here's the relevant part:
2024-10-03 07:33:46 ConsolidateInputs:POST variables:
2024-10-03 07:33:46 ConsolidateInputs:GET variables:
2024-10-03 07:33:46 GET variable:datatype=PtchGrpDates
2024-10-03 07:33:46 GET variable:ObjType=GRID
2024-10-03 07:33:46 GET variable:request={"datatype":"PtchGrpDates","ObjType":"GRID","changes":[{"recid":"1000024","PatchingDate":"2024-09-23"}],"action":"save"}
As you can see in the code, I've tried to set the sending method to be POST, but it doesnt appear to work... as mentioned, its the same with FORMS as well...
I know I'm missing something - but after 2-3 weeks of not being able to work it out - I thought I'd raise this as a query...
Addendum - forgot to include that I'd made a simple HTML form, using POST and this came through correctly as POST variables as expected.
Hope you're able to help
Thanks
Carl.
Beta Was this translation helpful? Give feedback.
All reactions