Evo upita
Request na localhost
Code:
Heeader
Accept: application/json
Content-Type: application/json
Host: localhost:4193
Content-Length: 63
Body
{"Email":"[email protected]","Password":"d","ConfirmPassword":"d"}
Heeader
Accept: application/json
Content-Type: application/json
Host: localhost:4193
Content-Length: 63
Body
{"Email":"[email protected]","Password":"d","ConfirmPassword":"d"}
Response sa localhosta
Code:
HTTP/1.1 400 Bad Request
Cache-Control: no-cache
Pragma: no-cache
Content-Type: application/json; charset=utf-8
Expires: -1
Server: Microsoft-IIS/8.0
Access-Control-Allow-Origin: *
Access-Control-Allow-Credentials: true
Access-Control-Allow-Headers: Content-Type, Authorization,Session, Accept, Origin, X-CSRF-Token, X-Requested-With, Accept, Accept-Version, Content-Length, Content-MD5, Date, X-Api-Version, X-File-Name
Access-Control-Allow-Methods: POST,GET,PUT,PATCH,DELETE,OPTIONS
X-AspNet-Version: 4.0.30319
X-SourceFiles: =?UTF-8?B?RDpcV2ViU2l0ZXMxMlxSVEdQU1RyYWNrZXJcUlRHUFNUcmFja2VyXGFwaVxBY2NvdW50XFJlZ2lzdGVy?=
X-Powered-By: ASP.NET
Date: Wed, 11 Jan 2017 10:47:08 GMT
Content-Length: 142
{"$id":"1","Message":"The request is invalid.","ModelState":{"$id":"2","model.Password":["The Password must be at least 6 characters long."]}}
HTTP/1.1 400 Bad Request
Cache-Control: no-cache
Pragma: no-cache
Content-Type: application/json; charset=utf-8
Expires: -1
Server: Microsoft-IIS/8.0
Access-Control-Allow-Origin: *
Access-Control-Allow-Credentials: true
Access-Control-Allow-Headers: Content-Type, Authorization,Session, Accept, Origin, X-CSRF-Token, X-Requested-With, Accept, Accept-Version, Content-Length, Content-MD5, Date, X-Api-Version, X-File-Name
Access-Control-Allow-Methods: POST,GET,PUT,PATCH,DELETE,OPTIONS
X-AspNet-Version: 4.0.30319
X-SourceFiles: =?UTF-8?B?RDpcV2ViU2l0ZXMxMlxSVEdQU1RyYWNrZXJcUlRHUFNUcmFja2VyXGFwaVxBY2NvdW50XFJlZ2lzdGVy?=
X-Powered-By: ASP.NET
Date: Wed, 11 Jan 2017 10:47:08 GMT
Content-Length: 142
{"$id":"1","Message":"The request is invalid.","ModelState":{"$id":"2","model.Password":["The Password must be at least 6 characters long."]}}
Request na remote host
Code:
Header
Accept: application/json
Content-Type: application/json
Host: znamen.rs.azhar.arvixe.com
Content-Length: 63
Body
{"Email":"[email protected]","Password":"d","ConfirmPassword":"d"}
Header
Accept: application/json
Content-Type: application/json
Host: znamen.rs.azhar.arvixe.com
Content-Length: 63
Body
{"Email":"[email protected]","Password":"d","ConfirmPassword":"d"}
Response sa localhosta
Code:
HTTP/1.1 400 Bad Request
Cache-Control: no-cache
Pragma: no-cache
Content-Type: text/html
Expires: -1
Server: Microsoft-IIS/8.0
Access-Control-Allow-Origin: *
Access-Control-Allow-Credentials: true
Access-Control-Allow-Headers: Content-Type, Authorization,Session, Accept, Origin, X-CSRF-Token, X-Requested-With, Accept, Accept-Version, Content-Length, Content-MD5, Date, X-Api-Version, X-File-Name
Access-Control-Allow-Methods: POST,GET,PUT,PATCH,DELETE,OPTIONS
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Date: Wed, 11 Jan 2017 11:09:32 GMT
Content-Length: 11
Bad Request
HTTP/1.1 400 Bad Request
Cache-Control: no-cache
Pragma: no-cache
Content-Type: text/html
Expires: -1
Server: Microsoft-IIS/8.0
Access-Control-Allow-Origin: *
Access-Control-Allow-Credentials: true
Access-Control-Allow-Headers: Content-Type, Authorization,Session, Accept, Origin, X-CSRF-Token, X-Requested-With, Accept, Accept-Version, Content-Length, Content-MD5, Date, X-Api-Version, X-File-Name
Access-Control-Allow-Methods: POST,GET,PUT,PATCH,DELETE,OPTIONS
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Date: Wed, 11 Jan 2017 11:09:32 GMT
Content-Length: 11
Bad Request
Jel ima neko neki predlog sta bi moglo da bude ?
To sto nekoliko miliona ljudi tvrdi da nisi u pravu ne znaci da stvarno nisi - Frank Zappa
https://youtu.be/DLe358DPGXU
https://youtu.be/DLe358DPGXU