Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Creating issues with UTF8 characters fails #13

Open
donbonifacio opened this Issue · 0 comments

1 participant

@donbonifacio

Hello,

I'm having problems while creating issues. It seams that when the title has diacritics, the request fails. This is the log from node-github:

REQUEST:  { host: 'api.github.com',
  port: 443,
  path: '/repos/user/repo/issues',
  method: 'post',
  headers: 
   { host: 'api.github.com',
     'user-agent': 'NodeJS HTTP Client',
     'content-length': 132,
     'content-type': 'application/json',
     authorization: 'Basic deleted' } }
REQUEST BODY: {"title":"IX-163: Os tickets não são todos migrados para o github","assignee":"donbonifacio","milestone":6,"labels":["Bug","Major"]}
Return STATUS: 400
{ message: '{"message":"Body should be a JSON Hash"}',
  code: 400 }

I tried making the post request myself and it worked fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.