1👍
✅
Shouldn’t you add the request body also in a put
request?
Something like this?
request = c.put(reverse('storyFunctions', kwargs={'pk': self.room.pk, 'idStory': self.story.pk}), payload, format='json')
As per the docs
Source:stackexchange.com