Changed server to expect json form on store.