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

in windows: ':=' not mean raw json object #28

Open
chuqingq opened this issue Apr 29, 2015 · 1 comment
Open

in windows: ':=' not mean raw json object #28

chuqingq opened this issue Apr 29, 2015 · 1 comment

Comments

@chuqingq
Copy link

bat POST http://www.baidu.com/ abc:='["123","456"]'

result in windows:

POST / HTTP/1.1
Host: www.baidu.com
Accept: application/json
Accept-Encoding: gzip, deflate
Content-Type: application/json
User-Agent: bat/0.0.3

{"abc":"'[123,456]'"}
<response ignored>

result in linux(or bash in windows):

POST / HTTP/1.1
Host: www.baidu.com
Accept: application/json
Accept-Encoding: gzip, deflate
Content-Type: application/json
User-Agent: bat/0.0.3

{"abc":["123","456"]}
<response ignored>
@astaxie
Copy link
Owner

astaxie commented Apr 29, 2015

got it. I will test in window later.

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

No branches or pull requests

2 participants