schannel: encrypted data buffer: offset 0 length 103424
schannel: encrypted data got 162
schannel: encrypted data buffer: offset 162 length 103424
schannel: decrypted data length: 133
schannel: decrypted data added: 133
schannel: decrypted data cached: offset 133 length 102400
schannel: encrypted data buffer: offset 0 length 103424
schannel: decrypted data buffer: offset 133 length 102400
schannel: schannel_recv cleanup
schannel: decrypted data returned 133
schannel: decrypted data buffer: offset 0 length 102400
< HTTP/1.1 404 Not Found
HTTP/1.1 404 Not Found
< Server: Microsoft-IIS/10.0
Server: Microsoft-IIS/10.0
< X-Powered-By: ASP.NET
X-Powered-By: ASP.NET
< Date: Fri, 01 Mar 2019 16:05:23 GMT
Date: Fri, 01 Mar 2019 16:05:23 GMT
< Content-Length: 0
Content-Length: 0
<
Connection #0 to host ad4401boxfransprint263s2plkbwxejg.azurewebsites.net left intact
DELETE CALL-----------------------------------------------------------------------------------------------
Tested https://ad4401boxfransprint263s2plkbwxejg.azurewebsites.net/v1/writeDoc for the appropriate status codes.
PUT/DELETE/GET return the wrong status code - They should return http code 405 method not allowed Found 404 for PUT and DELETE Found 400 for GET
PUT CALL--------------------------------------------------------------------------------------------------- C:\Users\mvien>curl -X PUT -d "{ 'id':'0', 'title' : 'Cinderella', 'description' : 'childrens book', 'author':'random author' }" -v -i "https://ad4401boxfransprint263s2plkbwxejg.azurewebsites.net/v1/writeDoc"
<
C:\Users\mvien>curl -X DELETE -d "{ 'id':'0', 'title' : 'Cinderella', 'description' : 'childrens book', 'author':'random author' }" -v -i "https://ad4401boxfransprint263s2plkbwxejg.azurewebsites.net/v1/writeDoc"
<
GET CALL-----------------------------------------------------------------------------------------------
C:\Users\mvien>curl -X GET -d "" -v -i "https://ad4401boxfransprint263s2plkbwxejg.azurewebsites.net/v1/writeDoc"
Trying 13.66.226.80...
TCP_NODELAY set
Connected to ad4401boxfransprint263s2plkbwxejg.azurewebsites.net (13.66.226.80) port 443 (#0)
schannel: SSL/TLS connection with ad4401boxfransprint263s2plkbwxejg.azurewebsites.net port 443 (step 1/3)
schannel: checking server certificate revocation
schannel: sending initial handshake data: sending 216 bytes...
schannel: sent initial handshake data: sent 216 bytes
schannel: SSL/TLS connection with ad4401boxfransprint263s2plkbwxejg.azurewebsites.net port 443 (step 2/3)
schannel: failed to receive handshake, need more data
schannel: SSL/TLS connection with ad4401boxfransprint263s2plkbwxejg.azurewebsites.net port 443 (step 2/3)
schannel: encrypted data got 4096
schannel: encrypted data buffer: offset 4096 length 4096
schannel: received incomplete message, need more data
schannel: SSL/TLS connection with ad4401boxfransprint263s2plkbwxejg.azurewebsites.net port 443 (step 2/3)
schannel: encrypted data got 1024
schannel: encrypted data buffer: offset 5120 length 5120
schannel: received incomplete message, need more data
schannel: SSL/TLS connection with ad4401boxfransprint263s2plkbwxejg.azurewebsites.net port 443 (step 2/3)
schannel: encrypted data got 445
schannel: encrypted data buffer: offset 5565 length 6144
schannel: sending next handshake data: sending 126 bytes...
schannel: SSL/TLS connection with ad4401boxfransprint263s2plkbwxejg.azurewebsites.net port 443 (step 2/3)
schannel: encrypted data got 51
schannel: encrypted data buffer: offset 51 length 6144
schannel: SSL/TLS handshake complete
schannel: SSL/TLS connection with ad4401boxfransprint263s2plkbwxejg.azurewebsites.net port 443 (step 3/3)
schannel: stored credential handle in session cache
schannel: client wants to read 102400 bytes
schannel: encdata_buffer resized 103424
schannel: encrypted data buffer: offset 0 length 103424
schannel: encrypted data got 208
schannel: encrypted data buffer: offset 208 length 103424
schannel: decrypted data length: 179
schannel: decrypted data added: 179
schannel: decrypted data cached: offset 179 length 102400
schannel: encrypted data buffer: offset 0 length 103424
schannel: decrypted data buffer: offset 179 length 102400
schannel: schannel_recv cleanup
schannel: decrypted data returned 179
schannel: decrypted data buffer: offset 0 length 102400 < HTTP/1.1 400 Bad Request HTTP/1.1 400 Bad Request < Content-Length: 3 Content-Length: 3 < Content-Type: text/plain; charset=utf-8 Content-Type: text/plain; charset=utf-8 < Server: Microsoft-IIS/10.0 Server: Microsoft-IIS/10.0 < X-Powered-By: ASP.NET X-Powered-By: ASP.NET < Date: Fri, 01 Mar 2019 16:14:35 GMT Date: Fri, 01 Mar 2019 16:14:35 GMT
HTTP error before end of send, stop sending < 400* Closing connection 0
schannel: shutting down SSL/TLS connection with ad4401boxfransprint263s2plkbwxejg.azurewebsites.net port 443
schannel: clear security context handle