prasannajeet / SpaceX_Wiki_KMM_iOS_Android

SpaceX Wiki is an iOS & Android application built using Kotlin Multiplatform Mobile framework which uses the SpaceX API
MIT License
3 stars 0 forks source link

[iOS] SpaceX API call returns 404 #1

Closed prasannajeet closed 2 years ago

prasannajeet commented 2 years ago

Any and all API calls to the SpaceX-API returns a 404 error

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

prasannajeet commented 2 years ago

Closing as Duplicate of #2