Giter VIP home page Giter VIP logo

prasannajeet / spacex_wiki_kmm_ios_android Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 0.0 1.18 MB

SpaceX Wiki is an iOS & Android application built using Kotlin Multiplatform Mobile framework which uses the SpaceX API

License: MIT License

Kotlin 93.68% Ruby 1.76% Swift 4.55%
kotlin clean-architecture coroutines-flow coroutines-flow-mvi jetpack-compose koin kotlin-coroutines kotlin-dsl kotlin-multiplatform kotlin-native

spacex_wiki_kmm_ios_android's Issues

[iOS] SpaceX API call returns 404

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

[iOS] SpaceX API call returns 404

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.