Django throwing "Incorrect type. Expected URL string" on API call
The problem is that you're using a serializers.HyperlinkedModelSerializer, you should use serializers.ModelSerializer or send the link of the ID you're sending as an int.
The problem is that you're using a serializers.HyperlinkedModelSerializer, you should use serializers.ModelSerializer or send the link of the ID you're sending as an int.