Skip to content

[iOS] SpaceX API call returns 404 #2

@prasannajeet

Description

@prasannajeet

Environment

Release version: 0.1.0
OS version: iOS: All
Device information: All iOS Devices

Description

Expected behavior: When the user launches the app the user should see a response to the API call like they do in Android

Current behavior: The API call returns 404

Steps to reproduce

  1. Open the iOS App
  2. Observe Log

Stacktrace/Logcat

Debug: (KtorLogging) RESPONSE: 404 Not Found
METHOD: HttpMethod(value=GET)
FROM: https://api.spacexdata.com/v4/company
COMMON HEADERS
-> Access-Control-Allow-Origin: *
-> Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
-> Content-Length: 9
-> Content-Type: text/plain; charset=utf-8
-> Date: Wed, 08 Jun 2022 01:31:54 GMT
-> Server: Caddy
-> Strict-Transport-Security: max-age=15552000; includeSubDomains
-> Vary: Origin
-> access-control-expose-headers: spacex-api-cache,spacex-api-response-time
-> content-security-policy: default-src 'self';base-uri 'self';block-all-mixed-content;font-src 'self' https: data:;frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests
-> expect-ct: max-age=0
-> referrer-policy: no-referrer
-> spacex-api-response-time: 0ms
-> x-content-type-options: nosniff
-> x-dns-prefetch-control: off
-> x-download-options: noopen
-> x-frame-options: SAMEORIGIN
-> x-permitted-cross-domain-policies: none
-> x-xss-protection: 0
BODY Content-Type: text/plain; charset=utf-8
BODY START
Not Found
BODY END

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions