25 Search results for "content_type"
REST API / Apps /
REST API endpoints for GitHub App webhooks
com/app/hook/config
Response
Example responseResponse schema
Status: 200
{
"content_type": "json",
"insecure_ssl": "0",
"secret":
REST API / Organizations /
REST API endpoints for organization webhooks
"config": {
"url": "http://example.com",
"content_type": "json"
},
"updated_at": "2011-09-06T20:39:23Z"
REST API / Repositories /
REST API endpoints for repository webhooks
"push",
"pull_request"
],
"config": {
"content_type": "json",
"insecure_ssl": "0",
"url":
REST API / Releases /
REST API endpoints for release assets
"short description",
"state": "uploaded",
"content_type": "application/zip",
"size": 1024,
"download_count":
Authentication / Account security /
About anonymized URLs
2014 07:27:43 GMT
> Content-Type: image/x-png
> Server: Google Frontend
> Content-Length: 6507
Check the value of Content-Type. In this case, it's
GitHub Copilot / Build Copilot Extensions / Build a Copilot agent /
Using Copilot's LLM for your agent
"POST",
headers: {
authorization: `Bearer ${tokenForUser}`,
"content-type": "application/json",
},
body: JSON.stringify({
messages
REST API / Releases /
REST API endpoints for releases
"short description",
"state": "uploaded",
"content_type": "application/zip",
"size": 1024,
"download_count":
REST API / Markdown /
REST API endpoints for Markdown
Markdown document in raw mode
You must send Markdown as plain text (using a Content-Type header of text/plain or text/x-markdown) to this endpoint, rather than
REST API / Using the REST API /
Using CORS and JSONP to make cross-origin requests
Access-Control-Allow-Origin: *
Access-Control-Allow-Headers: Authorization, Content-Type, If-Match, If-Modified-Since, If-None-Match, If-Unmodified-Since, X-Requested-With
Apps / Creating GitHub Apps / Writing code for a GitHub App /
Building a "Login with GitHub" button with a GitHub App
headers = {"Accept" => "application/json", "Content-Type" => "application/json", "Authorization" =>