Ad Widget

Collapse

Use "POST" instead of "GET"

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • osoh
    Junior Member
    • May 2007
    • 11

    #1

    Use "POST" instead of "GET"

    Hi,

    I wonder why do you use the "get" method in the frontend's forms. I think that in "write" operations, POST method must be used. The W3C published (some time ago) an interesting interesting document about this matter.

    Apart from the "destructive" effects of using "get" in some cases, you can get annoying errors. For example, we have 839 hosts in our testing installation (counting servers, ups, routers and so on). So, I was trying to remove a bunch of those machines but I've got an "URI too large" error (more than 255 characters). Just changing from "get" to "post" did the trick.

    See ya!
    Last edited by osoh; 28-05-2007, 10:20.
  • timmi
    Junior Member
    • Jul 2005
    • 8

    #2
    I have this trouble too, with trying to make stacked graph from ~90 items (total utilization of ip's by PPPoE users from all our PPPoE enabled devices.) And only ~28 items in stacked graph

    Comment

    • Alexei
      Founder, CEO
      Zabbix Certified Trainer
      Zabbix Certified SpecialistZabbix Certified Professional
      • Sep 2004
      • 5654

      #3
      I agree. Some time ago we discussed this and decided to leave usage of GET and POST variables in 1.4 as it is now. I am sure this will be changed in later releases.
      Alexei Vladishev
      Creator of Zabbix, Product manager
      New York | Tokyo | Riga
      My Twitter

      Comment

      Working...