facebook/flipper

Android Sample App Post Request failing with 404 error

Open

#1480 opened on Aug 18, 2020

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

Description

🐛 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

Contributor guide