Open DivyaYash opened 8 years ago
Sorry for not being clear, I already use a command as follows..that configures the URL for monitoring in uptime.. curl -vv -k -i -H "Accept: application/json" -X PUT -d "name=xample" -d "url=http://xyz.com/abc" -d "interval=1" http://uptime.com:8082/api/checks However, I want to set the HTTP Option = rejectUnauthorized: false from the curl command..I am not sure how to do it.. I tried passing -d "http_options=rejectUnauthorized: false" - No luck..
@fzaninotto Can you please confirm if the HTTPOptions can be passed as a parameter via the curl in a API PUT call? Somewhere in below syntax? curl -vv -k -i -H "Accept: application/json" -X PUT -d "name=xample" -d "url=http://xyz.com/abc" -d "interval=1" http://uptime.com:8082/api/checks
Hi Divya,
To send HTTP OPTION request via curl use: curl -X OPTIONS http://...
Regards, Sergio
On 25 November 2015 at 10:14, DivyaYash notifications@github.com wrote:
-- Sent from the common inbox for Application Support and Maintenance.
Cohaesus - Making Tech Work
+44 207 754 5947 | LinkedIn https://www.linkedin.com/company/cohaesus | www.cohaesus.co.uk
Cohaesus in The Drum http://www.thedrum.com/news/2015/06/01/agency-tech-partner-cohaesus-aims-reinvent-freelance-new-temporary-resourcing
Cohaesus is a trading name of Cohaesus Projects Limited. Our company is registered in the UK, Registration #04920788 .Our registered offices are at: Towngate House, 2-8 Parkstone Road, Poole, BH15 2PW. We are registered for VAT. VAT # GB834044939. All fees mentioned are without VAT. E&OE.