Closed (fixed)
Project:
Services
Version:
6.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
7 Mar 2009 at 21:30 UTC
Updated:
29 May 2009 at 23:36 UTC
Jump to comment: Most recent file
Comments
Comment #1
gddOK the attached patch does two things
- If the arg type is text, struct, or array, then it offers a textarea instead of a one line textbox
- If the arg type is struct or array, you can paste a serialized object/array into this textarea, and it will be unserialized and processed as if submitted normally
This will make testing of services that have array or struct arguments (like node.save) MUCH easier.
Comment #2
Hugo Wetterberg commentedThis patch takes the concept of a proper argument parser a bit further, and lets the user choose between the formats "Comma delimited", "JSON" and "Serialized PHP" where applicable.
Comment #3
Hugo Wetterberg commentedComment #4
marcingy commentedMarked as needs work as a hand book page on how to construction JSON and PHP for usage in the browser would be nice. Patch has been committed and this should be marked as fixed once the handbook page is created.
Comment #5
Hugo Wetterberg commentedThanks for the quick footwork yesterday Marc.
Heres the handbook page: http://drupal.org/node/467786
Comment #6
marcingy commented