# start a showcase server
gapic-showcase run
# create a new sequence on the server
gapic-showcase sequence create-streaming-sequence --streaming_sequence.content "once upon a time >there was a" --streaming_sequence.responses '{"status": {"code": 12, "message":"error"}, >"response_index": 5}'
# create a rest attempt
curl -X POST http://localhost:7469/v1beta1/streamingSequences/0:stream -H 'x-goog-request-params: >name=streamingSequences/0' -H 'Content-Type: application/json' -H 'x-goog-api-client: gl-python/3.9.2 >rest/2.28.1 gax/2.11.1 gapic/0.0.0' -d '{}'
[{
"content": "once"
},{
"content": "upon"
},{
"content": "a"
},{
"content": "time{"error":{"code":501,"message":"error","details":[],"Body":"","Header":null,"Errors":null}}"
},{
"content": "there"
}]
[{
"content": "once"
},{
"content": "upon"
},{
"content": "a"
},{
"content": "time"
},{
"content": "there"
},{
"error":{"code":501,"message":"error","details":[],"Body":"","Header":null,"Errors":null}
}]
Copied from googleapis/gapic-showcase#1377:
This issue is the reason for a skipped showcase test