Re: [galaxy-dev] Geek question re HTTP POST and Galaxy

2013-09-16 Thread Jeremy Goecks
hi Jeremy, in the histories controller, I could find no example to nicely obtain the PUT and POST content payload. Am I missing it? So I think a bad answer to my question is the following code. But I really don't like my _get_payload() hack reaching into the trans.environ object. Is

Re: [galaxy-dev] Geek question re HTTP POST and Galaxy

2013-09-15 Thread Ted Goldstein
hi Jeremy, in the histories controller, I could find no example to nicely obtain the PUT and POST content payload. Am I missing it? So I think a bad answer to my question is the following code. But I really don't like my _get_payload() hack reaching into the trans.environ object. Is there

Re: [galaxy-dev] Geek question re HTTP POST and Galaxy

2013-09-14 Thread Jeremy Goecks
Take a look at the histories controller (histories.py) for an example + documentation on how Galaxy realizes a RESTful interface. In short, you'll want to implement different methods for create, read, update, and delete. Kwds are miscellaneous parameters included in a request that are not

Re: [galaxy-dev] Geek question re HTTP POST and Galaxy

2013-09-14 Thread Ted Goldstein
Sweet! Thanks Ted On Sep 14, 2013, at 11:04 AM, Jeremy Goecks jeremy.goe...@emory.edu wrote: Take a look at the histories controller (histories.py) for an example + documentation on how Galaxy realizes a RESTful interface. In short, you'll want to implement different methods for create,