Update content/resources/how-to-guides/reduce-to-construct-JSON.md

pull/4160/head
kelseiv 2022-07-07 10:41:38 -07:00 committed by GitHub
parent b37b8c0353
commit 49fa691346
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ Use the [reduce()](/flux/v0.x/stdlib/universe/reduce/) function to create a JSON
| example-field:["3"4"1 | {example-tag-key:["bar"bar"bar | {example-tag-key:["bar"bar"bar] , example-field:["3"4"1]} |
5. Use the `findRecord()` function to extract the value from the final column, the JSON.
6. This example usest the [Post Test Server](https://ptsv2.com/) to grab a URL to dump the JSON and test the `http.post()` function.
6. Use `http.post()` to specify a URL to sent the JSON to. In this example, we use [Post Test Server](https://ptsv2.com/) as URL to send the JSON to, and test the `http.post()` function.
```js
import "array"