Skip to content

Instantly share code, notes, and snippets.

@hunterloftis
Created May 6, 2020 17:09
Show Gist options
  • Save hunterloftis/e72bd2b7648e918cd00fb510bc7b9a13 to your computer and use it in GitHub Desktop.
Save hunterloftis/e72bd2b7648e918cd00fb510bc7b9a13 to your computer and use it in GitHub Desktop.
Format: JSON
Protocol: HTTP
Type: Post (always Post, or just for transactions? Can I GET a query as well?)
Concept: Query
---
Protocol Method
(Concept)
---
HTTP Post
(Query)
vs:
Format: JSON
Protocol: HTTP
Type: Response
Concept: Query results? Not labeled.
---
Protocol Type
(Format)
---
HTTP Response
(JSON)
^^ This is what I mean when I say the structure isn't parallel / different things are going into different boxes.
@hunterloftis
Copy link
Author

If both were like the first example, it would be:

HTTP Post
(Query)

HTTP Response
(Query results)

If like the second, it would be:

HTTP Post
(JSON)

HTTP Response
(JSON)

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