Can't Post data containing $ in a key to Firebase

前端 未结 1 548
南笙
南笙 2020-12-11 21:15

I\'m attempting to post some data into Firebase (relative part of the URL is /messages.json). The following request content:

{\"gsx$enddate\":\"sometime\"}
<         


        
相关标签:
1条回答
  • 2020-12-11 22:01

    It's supposed to be a valid JSON but it seems like it's a limitation for FireBase

    From FireBase Documentation:

    Character Set Limitations

    Note that URLs used to construct Firebase references may contain any unicode characters except:

    • . (period)
    • $ (dollar sign)
    • [ (left square bracket)
    • ] (right square bracket)
    • # (hash or pound sign)
    • / (forward slash)
    0 讨论(0)
提交回复
热议问题