Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save thanhdevapp/0d8d5039fe2f8ade330dfade24fdf811 to your computer and use it in GitHub Desktop.
Save thanhdevapp/0d8d5039fe2f8ade330dfade24fdf811 to your computer and use it in GitHub Desktop.
1 Requests from api2.pronexus.com.vn
PUT /api/Customer/username HTTP/1.1
Host: api2.pronexus.com.vn
Content-Type: application/json
Cookie: .AspNet.Cookies=ALTb5ZeOsGf8umWsYpBG_ljdn4gjNNdjdksBgsYTUMy95cq2KWAdK2FDWooUw7lZVTvo26O_q_bJgti1A--HjWwl0C5O1v1-9a04YHgUfklRa-qIt8jo3VL2mAhVxI0i6NkU01mdEgwamWwJKajwbcXVAcZk6TQj2hEvUDriYnRaU2xE2NWVOcOA92D1INwEY1TsMwbvHMk8PyHH0Ovw2rpNf-YVPj4dwPIbsxT04KgwXsZSZM4UXXR47ibgNf76QQSCRCY2zxrzBaxfZ9aNbY_SwJ5ujno7IeXqCBX7CuH-7vyDl4Kko83w2QjiJWiGsWtEgblm8nieh7yXFAWLZqsyaQElZ-fekiOcJbi8cuzhZUTZ1sls1Fq3A61Rwm2tdmVmwgklwfTLbkEHLiws2YOaQPWpxgHa832E0iSqas4xHpxcqd7eyCDM8bykOQGToOke8GfaqIK2fI9hRC48FHnwTGZxOwZ_J1bNUcXSyrA
User-Agent: ProNexus/79 CFNetwork/1312 Darwin/21.1.0
Connection: keep-alive
Accept: application/json
Accept-Language: en-US,en;q=0.9
Authorization: Bearer tO8zcWD-eZi3Nmbu21XlL82vu3TfOo9JboAT-LdxS8oY2px3WlRGAN_rIMYIfFI9ZODISvJJRxtCwG-DXs3-g1Z3bPlewqKui3L82aUz3yui4VPjhrgKz28zU6dOtWke2dAEU_3ZvKz99ZYC7gaoyN50dMRQjTFeCPL0CJQ4CDLF5kJlrycEZULzZ9hXOSV0gH2MIqB7KQH_z-92y8gLrRX7FCUGBsktKIUV0tM7gXDPWR8JMYugSBwvTFQq8EQU1SO_kAx4UBGvTGjZOBbJ1HiBk8JJvw6v2LErjIjg8V6GULz2RpBHnOGGTyNODwMsOLh2KewahWYtdTswR_v55NqnyFAeBVS1On2yNbvcuIi0BadsQbtBZK0TI4mJCluqcnZrgATI6tlhykTazOQ7BHUvpcPlgv4cRs6EgWDHX8RJ2jl631zHTn2CwK-ghv2adKfbr-G6JVRqg2R1M3-ynqMzBohEv0ltFO1U6Qx9vgTY263-nEU_9xeVkJPXUJmnwyOUmDYWVS44WhA-7I7aiUDXcufVKLZWc9AzpZGE38wMSL6R5hvCbTsXSC635y8w2lENXPqgQS6DsNhHDQWTmheCX0cDU9945HZXTkF9Ylf8mp8mMxB1XwcMmFZB0R_J1hVSHLtjYRQOozFR7AhvTg
Accept-Encoding: gzip, deflate
Content-Length: 180
{
"gender": 2,
"lastname": "Trần",
"phone": "0986067706",
"dob": 1636563600,
"userEmail": "",
"ProvinceId": 1,
"DistrictId": 1,
"city": "",
"district": "",
"identityNumber": "",
"firstname": "Đức"
}
HTTP/1.1 500 Internal Server Error
Cache-Control: no-cache
Pragma: no-cache
Content-Type: application/json; charset=utf-8
Expires: -1
Server: Microsoft-IIS/10.0
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Date: Sat, 04 Dec 2021 07:05:11 GMT
Content-Length: 1955
{
"Message": "An error has occurred.",
"ExceptionMessage": "The model state is valid.\r\nParameter name: modelState",
"ExceptionType": "System.ArgumentException",
"StackTrace": " at System.Web.Http.HttpError..ctor(ModelStateDictionary modelState, Boolean includeErrorDetail)\r\n at System.Web.Http.Results.InvalidModelStateResult.Execute()\r\n at System.Web.Http.Results.InvalidModelStateResult.ExecuteAsync(CancellationToken cancellationToken)\r\n at System.Web.Http.Controllers.ApiControllerActionInvoker.<InvokeActionAsyncCore>d__1.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__5.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Filters.AuthorizationFilterAttribute.<ExecuteAuthorizationFilterAsyncCore>d__3.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Controllers.AuthenticationFilterResult.<ExecuteAsync>d__5.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Dispatcher.HttpControllerDispatcher.<SendAsync>d__15.MoveNext()"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment