摘要:
一、Post $("#btn30").on('click', function () { $.ajax({ type: "post", contentType: "application/json", dataType: "json", url: "https://localhost/api/app 阅读全文
摘要:
一、创建一个私钥文件 openssl genrsa -out myselfsigned.key 2048 二、利用私钥创建自签名证书 openssl req -new -x509 -key myselfsigned.key -out myselfsigned.cer -days 36500 执行上面 阅读全文
摘要:
namespace Tokens { public class PostTokenDto { public string? Access_token { get; set; } public string? Token_type { get; set; } public int? Expires_i 阅读全文
摘要:
dotnet dev-certs https -v -ep openiddict.pfx -p 00000000-0000-0000-0000-000000000000 dotnet dev-certs https -v -ep openiddict.pfx -p 00000000-0000-000 阅读全文
摘要:
install.sh #!/bin/bash # # This script is for Ubuntu 22.04 Jammy Jellyfish to download and install XRDP+XORGXRDP via # source. # # Major thanks to: ht 阅读全文
摘要:
一、gcloud init二、gcloud auth application-default login三、gcloud auth application-default print-access-token四、gcloud services enable cloudresourcemanager. 阅读全文
摘要:
{ "Kestrel": { "Endpoints": { "Http": { "Url": "http://localhost:5000" }, "HttpsInlineCertFile": { "Url": "https://localhost:5001", "Certificate": { " 阅读全文
摘要:
1、Add BookStore_App section int BookStore.DbMigrator\appsettings.json "BookStore_App": { "ClientId": "BookStore_App", "ClientSecret": "1q2w3e*", "Root 阅读全文
摘要:
private static async Task DownloadFile(string url, string filePath) { var progressMessageHandler = new ProgressMessageHandler(new HttpClientHandler()) 阅读全文
摘要:
function downloadFile(id) { var xhr = new XMLHttpRequest(); xhr.open('POST', 'https://localhost/api/app/isp-detection/' + id + '/download'); xhr.respo 阅读全文