Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PATCH, PUT, and DELETE Methods #82

Open
ibnesayeed opened this issue Dec 9, 2019 · 2 comments
Open

PATCH, PUT, and DELETE Methods #82

ibnesayeed opened this issue Dec 9, 2019 · 2 comments
Labels
Assignment Extra credit assignments

Comments

@ibnesayeed
Copy link
Collaborator

Find "in the wild" examples of domains that supports PATCH, PUT, or DELETE methods. You can find up to three examples from different domains, one for each method.

@ibnesayeed ibnesayeed added the Assignment Extra credit assignments label Dec 9, 2019
@himarshaj
Copy link
Contributor

himarshaj commented Dec 9, 2019

C:\Users\Himarsha>curl -i -X OPTIONS https://www.imdb.com
HTTP/1.1 200 OK
Content-Length: 0
Connection: keep-alive
Server: Server
Date: Mon, 09 Dec 2019 01:01:49 GMT
Strict-Transport-Security: max-age=47474747; includeSubDomains; preload
X-Frame-Options: SAMEORIGIN
Content-Security-Policy: frame-ancestors 'self' imdb.com *.imdb.com *.media-imdb.com withoutabox.com *.withoutabox.com amazon.com *.amazon.com amazon.co.uk *.amazon.co.uk amazon.de *.amazon.de translate.google.com images.google.com www.google.com www.google.co.uk search.aol.com bing.com www.bing.com
Allow: GET,HEAD,POST,PUT,PATCH,DELETE,OPTIONS
x-amz-rid: HY3CEXJ5SHXNNMP5JB88
Vary: Accept-Encoding,X-Amzn-CDN-Cache,X-Amzn-AX-Treatment,User-Agent
X-Cache: Miss from cloudfront
Via: 1.1 75bba5dfd2aa92cc6ca63ecca3b5248c.cloudfront.net (CloudFront)
X-Amz-Cf-Pop: IAD79-C3
X-Amz-Cf-Id: RFSVucKvKgaB077GUjSLgHbKn9eL1nNyqHXXrSnRm0iBpdvbe526rg==

C:\Users\Himarsha>curl -i -X OPTIONS http://jsonplaceholder.typicode.com/
HTTP/1.1 204 No Content
Date: Mon, 09 Dec 2019 01:44:44 GMT
Content-Length: 0
Connection: keep-alive
Set-Cookie: __cfduid=d8980c35c0eb748c69fafcd2d7e29e2f81575855883; expires=Wed, 08-Jan-20 01:44:43 GMT; path=/; domain=.typicode.com; HttpOnly
X-Powered-By: Express
Vary: Origin, Access-Control-Request-Headers
Access-Control-Allow-Credentials: true
Access-Control-Allow-Methods: GET,HEAD,PUT,PATCH,POST,DELETE
Via: 1.1 vegur
CF-Cache-Status: DYNAMIC
Server: cloudflare
CF-RAY: 54234baa9fb7e396-ATL

C:\Users\Himarsha>curl -i -X OPTIONS https://www.pinterest.com/
HTTP/1.1 405 Method Not Allowed
Content-Type: application/json
Content-Length: 62
Allow: GET, POST, HEAD, DELETE
pinterest-generated-by: coreapp-webapp-prod-0a010f90
pinterest-generated-by: coreapp-webapp-prod-0a010f90
x-envoy-upstream-service-time: 5
x-pinterest-rid: 7727770494493572
Date: Mon, 09 Dec 2019 01:51:19 GMT
Connection: keep-alive
Set-Cookie: _routing_id="3f91728b-5995-41e9-920b-d86aadcff235"; Max-Age=86400; Path=/; HttpOnly
X-CDN: akamai
Strict-Transport-Security: max-age=31536000 ; includeSubDomains ; preload

@Neyo-odu
Copy link
Contributor

Neyo-odu commented Dec 12, 2019

curl -i -X OPTIONS ameblo.jp

HTTP/1.1 200 OK
Allow: GET, HEAD, POST, PUT, DELETE, TRACE, OPTIONS, PATCH
Strict-Transport-Security: max-age=7776000
X-Is-Default-TTL: true
X-Cdn-TTL: 31536000.000
Content-Length: 0
Accept-Ranges: bytes
Date: Tue, 10 Dec 2019 20:00:18 GMT
Connection: keep-alive
X-Timer: S1576008018.958619,VS0,VE169
Vary: Origin,Accept-Encoding,X-User-Agent
Server-Timing: PASS, fastly;desc="Edge time";dur=169
Timing-Allow-Origin: *
X-Content-Type-Options: nosniff
Content-Security-Policy: upgrade-insecure-requests
X-User-Agent: desktop

curl -i -X OPTIONS http://netflix.com/
HTTP/1.1 200 OK
Access-Control-Allow-Credentials: true
Access-Control-Allow-Headers: Authorization,Content-Type,Content-Encoding,Accept,X-Netflix.application.name,X-Netflix.application.version,X-Netflix.esn,X-Netflix.device.type,X-Netflix.certification.version,X-Netflix.request.uuid,X-Netflix.originating.request.uuid,X-Netflix.user.id,X-Netflix.oauth.consumer.key,X-Netflix.oauth.token,X-Netflix.ichnaea.request.type,X-Netflix.Request.Routing,X-NETFLIX-PREAPP-PARTNER-ID, X-NETFLIX-PREAPP-INTEGRITY-VALUE, X-Netflix.Request.Priority,X-Netflix.Retry.Client.Policy,X-Netflix.Client.Request.Name,X-Netflix.Request.Retry.Policy,X-Netflix.Request.Retry.Policy.Default,X-Netflix.request.client.user.guid,X-Netflix.Request.NonJson.Headers,X-Netflix.esnPrefix,X-Netflix.browserName,X-Netflix.browserVersion,X-Netflix.osName,X-Netflix.osVersion,X-Netflix.uiVersion,X-Netflix.clientType,X-NETFLIX-PERSONALIZATION-ID,X-NETFLIX-DET-TOKEN
Access-Control-Allow-Methods: GET, HEAD, POST, PUT, DELETE, TRACE, OPTIONS, SCRIPT
Access-Control-Allow-Origin: *
Access-Control-Expose-Headers: X-Netflix.Retry.Server.Policy,X-Netflix.Response.Tag,X-Netflix.Geo.Info,X-Netflix.request.inbound.identity.changed,Via,X-Netflix.Retry.Server.Policy.retryAfterSeconds,X-Netflix.Retry.Server.Policy.maxRetries,X-Ftl-Error,X-Netflix.uiVersion
Allow: GET, HEAD, POST, PUT, DELETE, TRACE, OPTIONS, SCRIPT
Server: nq_website_core-prod-release UNKNOWN
Set-Cookie: nfvdid=BQFmAAEBEFD-BqCepHw5DeMl2IrkcQpASxCJE_Tpi_XqHYxBZ_OqhovuOo0jnnR7d4MU8BRWKbb4mfmFUWXmvpppLxuEAVg04tgy_htcSfcUs7BehlFVgg%3D%3D; Domain=.netflix.com; Path=/; Max-Age=31536000
Set-Cookie: memclid=2e5ee742-ebab-4947-be19-508c89b11248; Max-Age=31536000; Expires=Fri, 11 Dec 2020 03:57:54 GMT; Path=/; Domain=.netflix.com
Strict-Transport-Security: max-age=31536000
Via: 1.1 i-059da4ad5c40f2df7 (us-east-1)
X-Content-Type-Options: nosniff
X-Netflix.nfstatus: 1_1
X-Netflix.proxy.execution-time: 5
X-Originating-URL: http://netflix.com/
X-Xss-Protection: 1; mode=block; report=https://www.netflix.com/ichnaea/log/freeform/xssreport
Content-Length: 0
Connection: keep-alive

curl -i -X OPTIONS http://www.4shared.com/
HTTP/1.1 200 OK
Server: 573
Set-Cookie: day1host=h; Domain=.4shared.com; Expires=Fri, 13-Dec-2019 05:07:28 GMT; Path=/
DAV: 1
MS-Author-Via: DAV
Allow: OPTIONS,PROPFIND,MKCOL,MOVE,PUT,DELETE,LOCK,UNLOCK
Content-Length: 0
Date: Thu, 12 Dec 2019 05:07:28 GMT

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Assignment Extra credit assignments
Projects
None yet
Development

No branches or pull requests

3 participants