-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
When trying to activate using REST API, there is a status code of 200 returned, even when the message says "error":"key already used"
curl -v -X POST -d '{"email":"tomactivate"}' https://vmx-docker-test.vision.ai/activate/d89a69dd-e4f6-4fcd-ad8a-1ff6d5d1054a
* Adding handle: conn: 0x7fd04a804000
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 0 (0x7fd04a804000) send_pipe: 1, recv_pipe: 0
* About to connect() to vmx-docker-test.vision.ai port 443 (#0)
* Trying 104.131.188.60...
* Connected to vmx-docker-test.vision.ai (104.131.188.60) port 443 (#0)
* TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256
* Server certificate: *.vision.ai
* Server certificate: COMODO RSA Domain Validation Secure Server CA
* Server certificate: COMODO RSA Certification Authority
* Server certificate: AddTrust External CA Root
> POST /activate/d89a69dd-e4f6-4fcd-ad8a-1ff6d5d1054a HTTP/1.1
> User-Agent: curl/7.30.0
> Host: vmx-docker-test.vision.ai
> Accept: */*
> Content-Length: 23
> Content-Type: application/x-www-form-urlencoded
>
* upload completely sent off: 23 out of 23 bytes
< HTTP/1.1 200 OK
* Server nginx/1.9.2 is not blacklisted
< Server: nginx/1.9.2
< Date: Thu, 13 Aug 2015 19:10:23 GMT
< Content-Type: application/json; charset=utf-8
< Content-Length: 28
< Connection: keep-alive
< Set-Cookie: _SESSION=Jxk+ffMAa7qrNyXZO7eVwN222iqWR2+Xe5ga63WcAnuBN908Lt88E4XJ3jfgc7Qg1qdYaGawdCSVgrIQ3KghDpWK8jq03gESataUIzt5WJtBTlrJ0taRVlbbIFZ5zyIOVSgAr9MM54s=; Path=/; Expires=Thu, 13-Aug-2015 21:10:21 GMT; HttpOnly
< Vary: Accept, Accept-Language
< Access-Control-Allow-Origin: *
< Strict-Transport-Security: max-age=31536000
<
* Connection #0 to host vmx-docker-test.vision.ai left intact
{"error":"key_already_used"}%
Metadata
Metadata
Assignees
Labels
No labels