Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

How to get the data of POST request with 400 error, No match whit POSTMAN

Discussion in 'Scripting' started by tonybf, Jul 14, 2018.

  1. tonybf

    tonybf

    Joined:
    Dec 24, 2017
    Posts:
    9
    This is the body in POSTMAN:
    Code (CSharp):
    1.  
    2.   "Password": [
    3.     "The Password field is required."
    4.   ],
    5.   "UserName": [
    6.     "The UserName field is required."
    7.   ]
    8. }
    and then this is in

    request.downloadHandler.text
    :
    {"":["The input was not valid."]}

    So, some information is hide here for me, and I can't see in Unity but POSTMAN know how to get it.
    Pliss guys I need some help. How can I get this too?

    PD: Sorry for my English ;)