facebook/flipper

Android Sample App Post Request failing with 404 error

Open

Aperta il 18 ago 2020

Vedi su GitHub
 (5 commenti) (0 reazioni) (0 assegnatari)TypeScript (13.028 star) (972 fork)batch import
buggood first issueplugin-network

Descrizione

🐛 Bug Report

The Android Sample app allows user to "Send POST Request" which can be used to demonstrate the Network Plugin. However, the request is no longer working. It fails with a 404 (Page Not Found) error. It appears the the service used to host the request (mockable.io) is no longer configured correctly.

To Reproduce

  1. Start Flipper
  2. Start the Android Sample App
  3. Issue the post request from the Sample App

image

  1. The request never completes in Flipper. It appears that Flipper never recognizes the failure, the request just appears as an incomplete call. So even in the case of failure, it seems that the request should time-out with a 404 error. So there may be a couple of issues here.

image

Note: Here is the code that makes the request:

image

Additional Note:

Here is the same request being run directly from a browser.

image

Environment

Flipper 0.52.1

Guida contributor