Open sabetAI opened 3 years ago
there is no option to send POST request or add a body to a request, could you add a query parameter instead?
Sure, could you show me an example?
new EventSource("https://example.com/?prompt=Once%20upon%20a%20time&max_tokens=3")
If I have a curl request like the following:
How do I pass
--data-urlencode prompt='Once upon a time'
to my toEventSourcePolyfill
request?