Skip to content
This repository was archived by the owner on May 29, 2018. It is now read-only.
This repository was archived by the owner on May 29, 2018. It is now read-only.

Does the App create a HTTP client and then connect to its own API in order to create the response? #1

Description

@mackross

Am I following this right?

  1. A web page http request is initiated by the browser.
  2. The app handler parses the request and uses the api client to create a new http request to itself but on the api routes.
  3. The api handler handles the request from the api client and fetches/changes the relevant data in the datastore.
  4. The api handler marshals a JSON response and sends it back to the api client.
  5. The app then unmarshals the JSON response from the api client and renders it in a template?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions