4 Replies Latest reply on Mar 20, 2013 1:32 AM by satbir

    Control content in POST command

    satbir

      Hi,

       

      I have a requirement where users should post data only to specific users for which i need to check the content within the HTTP Post.

       

      Firebug output:

       

      POST

      Parameters:      application/x-www-form-urlencoded

      authenticity_token5354f0ba1bfb4f5e469906538d994f49dceb5ed1
      in_reply_to_status_id309208394538053632
      place_id
      status@ABC testing. pls ignore

      Source

      authenticity_token=5354f0ba1bfb4f5e469906538d994f49dceb5ed1&in_reply_to_status_id=309208394538053632&place_id=&status=%40ABC+testing.+pls+ignore

       

      In the above i can check which request contains post data using "command.name = post" and find out the parameters that exist in it using "command.parameters = status".

       

      Can we go a level deeper and check if the status parameter contains @ABC withiin the request?

       

       

      Regards,

      Satbir