Skip to content
This repository has been archived by the owner on Jun 28, 2022. It is now read-only.

Url fix #1

Open
wants to merge 1 commit into
base: solution
Choose a base branch
from
Open

Url fix #1

wants to merge 1 commit into from

Conversation

crlsndrsjmnz
Copy link

API is giving me error 301 Moved Permanently on Utils.java, line 104.

Full response is:

<title>301 Moved Permanently</title>

Moved Permanently

The document has moved here.

To fix it, I changed the USGS_REQUEST_URL variable to use HTTPS as shown below:

private static final String USGS_REQUEST_URL =
"https://earthquake.usgs.gov/fdsnws/event/1/query?format=geojson&starttime=2016-01-01&endtime=2016-05-02&minfelt=50&minmagnitude=5";

Please check other branches and QuakeReport app.

@crlsndrsjmnz crlsndrsjmnz changed the base branch from starting-point to solution March 3, 2017 20:51
@s0ullight
Copy link

@crlsndrsjmnz
see the CONTRIBUTING.md file for the procedure
you'll have to open an issue describing the bug and your solution

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants