Open prasannajeet opened 2 years ago
Release version: 0.1.0 OS version: iOS: All Device information: All iOS Devices
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
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
Additional points:
The issue is happening only with SpaceX API endpoints and not with other 3rd party endpoints.
The issue is happening on both v3 and v4 SpaceX API endpoints
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
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