Search Unity

Question Post parameter is blank!

Discussion in 'Scripting' started by Rachan, Mar 20, 2023.

  1. Rachan

    Rachan

    Joined:
    Dec 3, 2012
    Posts:
    776
    Hi there!

    I wondering why my Post parameter in some URL are always blank?
    I just test by simple WWWForm tutorial from Unity
    But some URL is blank But some URL was ok
    my Unity version is 2021.3.16f1

    there need to have a custom settings in some where?

    I was tested in https://httpbin.org/post to see my Post parameters
    and they are exist there, Why in my URL is still blank?

    my URL here https://www.hardworkerstudio.com/Santhai/PostComment.php "
    and Post parameter is "myComment"

    and https://www.hardworkerstudio.com/Santhai/AddItem/Add.php
    and Post parameter is "puid"

    But this URL is ok even the same site
    https://hardworkerstudio.com/monk/test.php
    and Post parameter is "data" this site will return a post parameter also.

    I don't know why Same C# code But just difference URL with same website are so difference?


    anyone has suggestion?

    Thanks!
     
    Last edited: Mar 20, 2023