Search Unity

  1. Check out the Unite LA keynote for updates on the Visual Effect Editor, the FPS Sample, ECS, Unity for Film and more! Watch it now!
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. Improved Prefab workflow (includes Nested Prefabs!), 2D isometric Tilemap and more! Get the 2018.3 Beta now.
    Dismiss Notice
  4. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice
  5. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice

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

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

  1. unity_70nybl4nc0

    unity_70nybl4nc0

    Joined:
    Dec 24, 2017
    Posts:
    1
    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 ;)