Instantly share code, notes, and snippets.

What would you like to do?
PowerShell snippet for submitting to - By Nicholas Gipson
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
$Invoke = Invoke-WebRequest -Headers @{"API-Key" = "$apikey"} -Method Post ` -Body "{`"url`":`"$url`"}" -Uri ` -ContentType application/json

This comment has been minimized.

unexpectedBy commented Jul 5, 2018

thanks for this bro, if i need submit a url list, how can a edit this script?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment