I have a simple HTTP server configured in Suave as follows. Here, I have a login endpoint that will generate a random session id and I want to set ...
I have a simple HTTP server configured in Suave as follows. Here, I have a login endpoint that will generate a random session id and I want to set ...
(Noting that my total experience with Suave and back-end web-development in general can be measured in days and counted on one hand) As part of my pr ...
Here is a test: with this example, the getServerTime function is called once and this is it, every subsequent call to the endpoint will return the ...
How can I redirect a connection from http to https using Suave? at https://gist.github.com/ademar/f4ddb788162dbdd9e104574e2accf07f I found this: b ...
I am not understanding the doc when it comes to serving static files. I have a site where the backend is deployed to /app in a docker container and t ...
I have an app running on AWS through ECS (as a Docker container) for which I used Suave to receive some REST commands. The code is very primitive: ...
Where can I find, in the Suave docs, the way to return an http error with a message as a plain text error? I keep looking and I just can't find my wa ...
I have the following code: It's using the Suave web server, and both paths (ok and errors) return an object of type WebPart. If I try to move the ...
I am trying to receive a confirmation from AWS' SNS system. It sends a message through a POST to a webserver and I'm receiving it using Suave. When I ...
I need to set up a service that need to accept POST messages to ANY route on that IP and have the web server listening to ALL IPs the machine has I c ...
Here is a minimal sample that will reproduce the issue. Trying to hit that endpoint, either with a Fable client or just navigating to http://127.0.0. ...
I have an f# chat application that needs rest apis exposed as well as have websockets for real time messaging. I am using Suave framework. I have a f ...
I would like to create a WebPart that forwards all requests to another web server that I specify. Usage might look like this: let app = choose ...
I am trying to create a simple Todo REST API using Suave. The Todo type is defined as: type Todo = { id: Guid title: string isComplet ...
I'm struggling with the right approach to handle longer running requests/jobs in F#. Requirement: A job consists of multiple steps (which need to ...
I'm trying to create a Suave project via Ionide, but it only gives me these options: classlib, console, saturn, expecto. What should I do to Suave app ...
I have read the Suave document but still cannot start a Suave web server using HTTPS protocol. Can someone help me on this? It would be great if samp ...
I have a text input, and I've managed to debounce input. However, my keypress listener won't wait for text input events to flush before processing the ...
I have several routes that must be grouped by "company", plus some that are valid for all: So I try with suave: However the pathScan capture all ...