Shadow Wizard Money Gang
Shadow Wizard Money Gang
CC#
Created by Shadow Wizard Money Gang on 7/13/2024 in #help
✅ CORS issue when making GET request to server running asp application.
!close
75 replies
CC#
Created by Shadow Wizard Money Gang on 7/13/2024 in #help
✅ CORS issue when making GET request to server running asp application.
I've got lots to figure out by the sounds of it. thank you again. I'm going to go sort out some ui issues with the web app
75 replies
CC#
Created by Shadow Wizard Money Gang on 7/13/2024 in #help
✅ CORS issue when making GET request to server running asp application.
75 replies
CC#
Created by Shadow Wizard Money Gang on 7/13/2024 in #help
✅ CORS issue when making GET request to server running asp application.
and anyway the jokes on them, they can have my negative balance.
75 replies
CC#
Created by Shadow Wizard Money Gang on 7/13/2024 in #help
✅ CORS issue when making GET request to server running asp application.
ah okay that makes sense. so its mainly a browser side thing. like i just realised curl doesnt use cors. so the bank would use authorization aswell.
75 replies
CC#
Created by Shadow Wizard Money Gang on 7/13/2024 in #help
✅ CORS issue when making GET request to server running asp application.
I'm happy to figure it out on my own ive found this https://owasp.org/www-community/Types_of_Cross-Site_Scripting
75 replies
CC#
Created by Shadow Wizard Money Gang on 7/13/2024 in #help
✅ CORS issue when making GET request to server running asp application.
I've heard of cross site scripting attacks. isn't it basically injecting malicous javascript
75 replies
CC#
Created by Shadow Wizard Money Gang on 7/13/2024 in #help
✅ CORS issue when making GET request to server running asp application.
oh cool something straightforward for once
75 replies
CC#
Created by Shadow Wizard Money Gang on 7/13/2024 in #help
✅ CORS issue when making GET request to server running asp application.
there's probably more rules to it though?
75 replies
CC#
Created by Shadow Wizard Money Gang on 7/13/2024 in #help
✅ CORS issue when making GET request to server running asp application.
i know it stops requests from different orgins but I'm not certain on what actually counts as different origins
75 replies
CC#
Created by Shadow Wizard Money Gang on 7/13/2024 in #help
✅ CORS issue when making GET request to server running asp application.
thanks again for saving my ass. I think you helped me in my last help thread as well. I defnitely need to read up on it by the sounds of it. I've only have brief knowledge from a .net textbook.
75 replies
CC#
Created by Shadow Wizard Money Gang on 7/13/2024 in #help
✅ CORS issue when making GET request to server running asp application.
would that be for something like having a webapp frontend and a mobile frontend?
75 replies
CC#
Created by Shadow Wizard Money Gang on 7/13/2024 in #help
✅ CORS issue when making GET request to server running asp application.
Yeah I just double checked. honestly im not sure where I found the orignal code
75 replies
CC#
Created by Shadow Wizard Money Gang on 7/13/2024 in #help
✅ CORS issue when making GET request to server running asp application.
I will still go read the add cors docs and figure out your example
75 replies
CC#
Created by Shadow Wizard Money Gang on 7/13/2024 in #help
✅ CORS issue when making GET request to server running asp application.
ok so i just closed firefox and its all good now...
75 replies
CC#
Created by Shadow Wizard Money Gang on 7/13/2024 in #help
✅ CORS issue when making GET request to server running asp application.
75 replies
CC#
Created by Shadow Wizard Money Gang on 7/13/2024 in #help
✅ CORS issue when making GET request to server running asp application.
No description
75 replies
CC#
Created by Shadow Wizard Money Gang on 7/13/2024 in #help
✅ CORS issue when making GET request to server running asp application.
click on single player, it makes the first fetch there
75 replies
CC#
Created by Shadow Wizard Money Gang on 7/13/2024 in #help
✅ CORS issue when making GET request to server running asp application.
I was using
c#
if (app.Environment.IsDevelopment())
{
app.UseSwagger();
app.UseSwaggerUI();
app.UseCors(builder => builder.
WithOrigins("http://localhost:5173")
.AllowAnyHeader()
.AllowAnyMethod()
.AllowCredentials());

}
c#
if (app.Environment.IsDevelopment())
{
app.UseSwagger();
app.UseSwaggerUI();
app.UseCors(builder => builder.
WithOrigins("http://localhost:5173")
.AllowAnyHeader()
.AllowAnyMethod()
.AllowCredentials());

}
in development so I just thought it would be the same.
75 replies
CC#
Created by Shadow Wizard Money Gang on 7/13/2024 in #help
✅ CORS issue when making GET request to server running asp application.
Removing the trailing slashes didn't work.
75 replies