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

Test body parameter #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Test body parameter #1

wants to merge 1 commit into from

Conversation

tegorov
Copy link
Owner

@tegorov tegorov commented Jun 9, 2021

This pull request was created through github api without body parameter:

curl \
  -X POST \
  -H "Accept: application/vnd.github.v3+json" \
  https://api.github.com/repos/tegorov/kotlin/pulls \
  -d '{"head":"github-model-bug","base":"master","title":"Test"}'

Get pull request data:

curl \
  -H "Accept: application/vnd.github.v3+json" \
  https://api.github.com/repos/tegorov/kotlin/pulls/1

Response:

{
    ...
    "title":"Test body parameter",
    "body":null,
    "created_at":"2021-06-09T08:35:35Z",
    ...
}

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

Successfully merging this pull request may close these issues.

1 participant