If Mattermost server published behind WAF, then WAF may block requests from Android clients, because by default it not sending any Content-Type headers in POST requests.
okhttp3 not sets Content-Type headers by default, so we need to do this explicitly.
I've made PR for react-native-network-client with these fixes:
mattermost/react-native-network-client#164
If Mattermost server published behind WAF, then WAF may block requests from Android clients, because by default it not sending any Content-Type headers in POST requests.
okhttp3 not sets Content-Type headers by default, so we need to do this explicitly.
I've made PR for react-native-network-client with these fixes:
mattermost/react-native-network-client#164