I have started using TasyPie for an API and have build the following resource below. My issue is that client using the API does not makes POSTs in json i.e.
It's asks for POSTs like this....
http://somedomain/a/path?id={{ticket.external_id}}&status={{ticket.status}}
How to I allow POST via the URL? As at the moment TasyPie only works with json POST in the body.
class SMSResource(ModelResource):
class Meta(CommonMeta):
queryset = Batch.objects.all()
resource_name = 'sms'
list_allowed_methods = ['get', 'post']
detail_allowed_methods = ['get']