HaxeFoundation / HaxeFoundation/haxe

[All]http post error .

Open
#9,447 13 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haxe
Stars
6.9k
Forks
715
Avg merge
2d 2h
Merged PRs (30d)
11

Description

```haxe
class Main {
static function main() {
var h = new haxe.Http("http://173.82.238.113:9006/member/api/game/serverLists");

h.onData = function(d) {
trace(d=="");
}
h.onError = function(e) {
trace("error" + Std.string(e));//hl will return error here.
}
h.addHeader('token', '');

h.addParameter("ip", "127.0.0.1");

h.request(true);
}
}
```

I try to build hl and node target . node seem ok. but hl give me wrong reuslt.

errorHttp Error #422

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.