mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
JSON protocol updating (#426)
* JSON protocol updating this patch adds HTTP query string into payload (see more TODOs in code) adds one more test to verify query * Fixing FMT
This commit is contained in:
@@ -15,9 +15,10 @@ type Person struct {
|
||||
}
|
||||
|
||||
type JSON struct {
|
||||
Headers http.Header `json:"headers"`
|
||||
Body string `json:"body,omitempty"`
|
||||
StatusCode int `json:"status,omitempty"`
|
||||
Headers http.Header `json:"headers"`
|
||||
Body string `json:"body,omitempty"`
|
||||
StatusCode int `json:"status,omitempty"`
|
||||
QueryParameters string `json:"query_parameters,omitempty"`
|
||||
}
|
||||
|
||||
func main() {
|
||||
|
||||
Reference in New Issue
Block a user