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
Create a simple route. This is the code that you want to run when a request comes in using the specificed HTTP verb and path. **Route methods must be [asynchronous](https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/concepts/async/)!**
25
+
Create a simple route. This is the code that you want to run when a request comes in using the specified HTTP verb and path. **Route methods must be [asynchronous](https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/concepts/async/)!**
26
26
27
27
```csharp
28
28
[RestResource]
@@ -48,7 +48,7 @@ using (var server = RestServerBuilder.UseDefaults().Build())
48
48
}
49
49
```
50
50
51
-
Open your prefered browser and go to `http://localhost:1234/api/test`. You should see the following output in your browser:
51
+
Open your preferred browser and go to `http://localhost:1234/api/test`. You should see the following output in your browser:
0 commit comments