You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the user sent me a POST request with a json string as data and I received a package like this (just an example):
----------------------------------------------------------------------------------------
POST http://xxxxxxxxxxxxxxx.com/login HTTP/1.1
Accept: application/json
Content-Type: application/json; charset=utf-8
User-Agent: xxxxxxxxxxxxxxx/0.1
Host: xxxxxxxxxxxxxxxs.com
Content-Length: 50
Expect: 100-continue
{"login":"xxxxxx@mail.com","password":"123456789"}
----------------------------------------------------------------------------------------
At this point the user decided that the parameter was not so important and he wanted to transform the POST request to GET and probably was the only thing he changed in blueprint node. So I received this package:
----------------------------------------------------------------------------------------
GET http://xxxxxxxxxxxxxxx.com/login HTTP/1.1
Accept: application/json
Content-Type: application/json; charset=utf-8
User-Agent: xxxxxxxxxxxxxxx/0.1
Host: xxxxxxxxxxxxxxxs.com
Content-Length: 50
Expect: 100-continue
----------------------------------------------------------------------------------------
Where, as you can see, the request changed from POST to GET and the parameter (the json string) disappeared. Unfortunately, the Content-Length parameter remained unchanged, so, my server, waited for data that did not arrive because probably truncated.
For this reason, I thought that when the user gives some data to your node you put their length in parameter Content-Length and after, if you see that the chosen method is GET, you cut the parameter but forget to remove also the parameter Content-Length.
The text was updated successfully, but these errors were encountered:
Support request from dmaxime
The text was updated successfully, but these errors were encountered: