You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
How to pass 'body' params to EventSourcePolyfill? #175
Activity
[-]How to pass 'body' params to EventSourcePolyFill?[/-][+]How to pass 'body' params to EventSourcePolyfill?[/+]Yaffle commentedon Aug 6, 2021
there is no option to send POST request or add a body to a request, could you add a query parameter instead?
sabetAI commentedon Aug 7, 2021
Sure, could you show me an example?
Yaffle commentedon Aug 7, 2021
new EventSource("https://example.com/?prompt=Once%20upon%20a%20time&max_tokens=3")