Ask Your Question

List endpoint: Bad request

asked 2016-10-20 22:02:05 -0600

Ngoc Dinh gravatar image

I completed for setup swift all in one ( ( Then I tried to add storage policies ( (, Then I performed some steps:

  1. swift -A -U test:tester -K testing info

  2. curl -v -X PUT -H 'X-Auth-Token: [your auth token]' \ (

  3. curl -X PUT -v -T file0.txt -H 'X-Auth-Token: [your auth token]' \ (

with my [your auth token] is AUTH_tk92fa5118fc424140a40f2d87b064ee45

Then I run the command: curl -X GET -v (

It shows an error:

Note: Unnecessary use of -X or --request, GET is already inferred. * Trying * Connected to ( port 8080 (#0)

GET /endpoints/AUTH_test/myCont1/file1.txt HTTP/1.1 Host: User-Agent: curl/7.47.0 Accept: /

< HTTP/1.1 400 Bad Request < Content-Length: 137 < Content-Type: text/html; charset=UTF-8 < X-Trans-Id: txd3e1a853b9b9434e83a08-0058097cd6 < Date: Fri, 21 Oct 2016 02:26:30 GMT < * Connection #0 to host left intact <html>

Bad Request

The server could not comply with the request since it is either malformed or otherwise incorrect.


I have no idea it happens Bad request error. Please give me your ideas.


edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2016-10-26 21:07:22 -0600

Ngoc Dinh gravatar image

Somone help me?


edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2016-10-20 21:48:31 -0600

Seen: 343 times

Last updated: Oct 26 '16