Hi,
When using the 'Extract Variables' policy to extract a JSON payload, it wont extract any variables in case the Content-Type is not set. While I understand why, I have two questions;
- Is it a good practice to set a default value in the API for the Content-Type in case the header was not supplied? Or should I send a HTTP 400?
- Can I expect that most clients actually send the correct Content-Type header? For example, Postman doesnt by default.
thanks and kind regards,
Guy