{"action":"opened","issue":{"url":"https://api.github.com/repos/ergoplatform/ergo/issues/256","repository_url":"https://api.github.com/repos/ergoplatform/ergo","labels_url":"https://api.github.com/repos/ergoplatform/ergo/issues/256/labels{/name}","comments_url":"https://api.github.com/repos/ergoplatform/ergo/issues/256/comments","events_url":"https://api.github.com/repos/ergoplatform/ergo/issues/256/events","html_url":"https://github.com/ergoplatform/ergo/issues/256","id":317261841,"number":256,"title":"API methods misbehaviour","user":{"login":"andyceo","id":758910,"avatar_url":"https://avatars2.githubusercontent.com/u/758910?v=4","gravatar_id":"","url":"https://api.github.com/users/andyceo","html_url":"https://github.com/andyceo","followers_url":"https://api.github.com/users/andyceo/followers","following_url":"https://api.github.com/users/andyceo/following{/other_user}","gists_url":"https://api.github.com/users/andyceo/gists{/gist_id}","starred_url":"https://api.github.com/users/andyceo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andyceo/subscriptions","organizations_url":"https://api.github.com/users/andyceo/orgs","repos_url":"https://api.github.com/users/andyceo/repos","events_url":"https://api.github.com/users/andyceo/events{/privacy}","received_events_url":"https://api.github.com/users/andyceo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-24T14:49:07Z","updated_at":"2018-04-24T14:49:07Z","closed_at":null,"author_association":"MEMBER","body":"POST API methods `/transactions`, `/utils/hash/blake2b` return:\r\n\r\n```\r\n$ curl -v -X POST \"http://localhost:9051/utils/hash/blake2b\" -H  \"accept: text/plain\" -H  \"Content-Type: text/plain\" -d \"fgbfgb\"\r\nNote: Unnecessary use of -X or --request, POST is already inferred.\r\n*   Trying 127.0.0.1...\r\n* Connected to localhost (127.0.0.1) port 9051 (#0)\r\n> POST /utils/hash/blake2b HTTP/1.1\r\n> Host: localhost:9051\r\n> User-Agent: curl/7.47.0\r\n> accept: text/plain\r\n> Content-Type: text/plain\r\n> Content-Length: 6\r\n> \r\n* upload completely sent off: 6 out of 6 bytes\r\n< HTTP/1.1 308 Permanent Redirect\r\n< Location: /swagger\r\n< Server: akka-http/10.1.0-RC2\r\n< Date: Tue, 24 Apr 2018 14:45:06 GMT\r\n< Content-Type: text/html; charset=UTF-8\r\n< Content-Length: 94\r\n< \r\n* Connection #0 to host localhost left intact\r\nThe request, and all future requests should be repeated using <a href=\"/swagger\">this URI</a>.\r\n```\r\n`/transactions` returns similar content.\r\n\r\nIf we call endpoints from Swagger UI, this returns:\r\n\r\n```\r\nTypeError: NetworkError when attempting to fetch resource.\r\n```\r\n"}}
{"actor":{"display_login":"andyceo"}}