facebook/flipper

Android Sample App Post Request failing with 404 error

Open

#1,480 创建于 2020年8月18日

在 GitHub 查看
 (5 评论) (0 反应) (0 负责人)TypeScript (13,028 star) (972 fork)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

贡献者指南

Android Sample App Post Request failing with 404 error · facebook/flipper#1480 | Good First Issue