# Test the deployed cloud functions $ct = @{ "Content-Type" = "application/json" } # Test getApigInfo (t012qy4XVe) Write-Host "=== getApigInfo ===" -ForegroundColor Cyan $body1 = @{ _ApplicationId = "ncloudmaster" apigId = "Vo3ROWEvDy" } | ConvertTo-Json -Compress try { $r1 = Invoke-RestMethod -Uri "https://server.fmode.cn/parse/functions/t012qy4XVe" -Method POST -ContentType "application/json" -Body $body1 -TimeoutSec 15 Write-Host "Response:" -ForegroundColor Green $r1 | ConvertTo-Json -Depth 5 } catch { Write-Host "Error: $($_.Exception.Message)" -ForegroundColor Red } Write-Host "" # Test getApigAuth (H7X7y9Wfc0) Write-Host "=== getApigAuth ===" -ForegroundColor Cyan $body2 = @{ _ApplicationId = "ncloudmaster" userId = "nd7NOCmFiE" apigId = "Vo3ROWEvDy" } | ConvertTo-Json -Compress try { $r2 = Invoke-RestMethod -Uri "https://server.fmode.cn/parse/functions/H7X7y9Wfc0" -Method POST -ContentType "application/json" -Body $body2 -TimeoutSec 15 Write-Host "Response:" -ForegroundColor Green $r2 | ConvertTo-Json -Depth 5 } catch { Write-Host "Error: $($_.Exception.Message)" -ForegroundColor Red }