local response = http.request { method = 'DELETE',
auth = { '************************' } }
print (response)DELETE https://www.webscript.io/api/0.1/script/978patent1/util:200
{'content': '', 'headers': {'content-length': '0', 'server': 'nginx/1.10.1', 'connection': 'keep-alive', 'date': 'Tue, 22 Aug 2017 23:20:45 GMT', 'x-frame-options': 'SAMEORIGIN', 'content-type': 'text/html; charset=utf-8'}, 'statuscode': 200}
local response = http.request { method = 'DELETE',
auth = { '************************' } }
print (response)DELETE https://www.webscript.io/api/0.1/script/978patent1/util/utilmod:405
{'content': '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">\n<title>405 Method Not Allowed</title>\n<h1>Method Not Allowed</h1>\n<p>The method is not allowed for the requested URL.</p>\n', 'headers': {'content-length': '178', 'server': 'nginx/1.10.1', 'connection': 'keep-alive', 'allow': 'HEAD, GET, PUT, POST, OPTIONS', 'date': 'Tue, 22 Aug 2017 21:27:57 GMT', 'content-type': 'text/html'}, 'statuscode': 405}
| Delete script | DELETE | /api/0.1/script/<subdomain>/<path> (e.g. /api/0.1/script/examples/email) | Delete a script. |
--
You received this message because you are subscribed to the Google Groups "Webscript.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email to webscriptio+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.