Open LaurensBurger opened 1 year ago
Discussed with Laurens:
client.request(**request_args) should be given the parameter expected_status=201
in this situation. Unfortunately there isn't an option in zgw_consumers/zds_client to pass along multiple expected statusses (ideally you would want to accept all 2XX responses instead of only a fixed status code of 200).
A few options:
Thema / Theme
Form designer
Omschrijving / Description
As a form designer i want to set the "expected_status" for the response my service fetch request makes. At the moment this can only be 200, but POST requests typically return a 201.