Skip to content

Commit

Permalink
Add .gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
MegamindAme committed Sep 27, 2023
1 parent 334526d commit 2125a45
Show file tree
Hide file tree
Showing 10 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
WebApplication4/bin/
WebApplication4/obj/
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified .vs/WebApplication4/v17/.suo
Binary file not shown.
2 changes: 1 addition & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Run:
update-database

## Using the Api
The root url of the app will lead you to the Swagger documentation where details of all endpoints could be found there.
The https://{rooturl}/swagger of the app will lead you to the Swagger documentation where details of all endpoints could be found there, where rooturl is the url that the app can be reached.

### Authentication
Use the register endpoint to register a user, and you'll get back a token which you can use to authenticate by using the Authorization header in your requests.
Expand Down
2 changes: 1 addition & 1 deletion WebApplication4/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
var app = builder.Build();

// Configure the HTTP request pipeline.
if (app.Environment.IsDevelopment())
//if (app.Environment.IsDevelopment())
{
app.UseSwagger();
app.UseSwaggerUI();
Expand Down

0 comments on commit 2125a45

Please sign in to comment.