Skip to content

Latest commit

 

History

History
25 lines (21 loc) · 528 Bytes

README.md

File metadata and controls

25 lines (21 loc) · 528 Bytes

HTTP Client

Start a Flow with HTTP protocol

jina flow --uses flow.yml

Send DataRequests to the Flow

go run main.go --host http://localhost:12345
Total 3 docs received.
DocID: 0
        Chunk 0 text: Hello world. 
        Chunk 1 text: This is a test document with id:0 
DocID: 1
        Chunk 0 text: Hello world. 
        Chunk 1 text: This is a test document with id:1 
DocID: 2
        Chunk 0 text: Hello world. 
        Chunk 1 text: This is a test document with id:2