facebook/flipper

Android Sample App Post Request failing with 404 error

Open

#1,480 opened on 2020年8月18日

GitHub で見る
 (5 comments) (0 reactions) (0 assignees)TypeScript (13,028 stars) (972 forks)batch import
buggood first issueplugin-network

説明

🐛 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

コントリビューターガイド