I need to pass filters to the api via XML and not via GET query params.
I've doing this:
curl --dump-header - \
-H "Content-Type: application/xml" -X GET \
--data '<object><title>Hello XML</title><date>200-01-01</date></object>' \
http://x.x.x.x/api/entry/
which I want to be the same as: http://x.x.x.x/api/entry/?format=xml&title=Hello XML&date=200-01-01
but --data
gets ignored for GET request. So, my question is, how to I pass XML to a GET request using tastypie?
Thanks in advance for the help.
EDIT
I also should note, that in the XML data I want to be able to set the limit and offset, along with filter.