How to read the following request and decode it.
curl -X PUT -d '{ "first": "Jack", "last": "Sparrow" }'
'https://[PROJECT_ID].firebaseio.com/users/jack/name.json'
curl 'https://identitytoolkit.googleapis.com/v1/accounts:signInWithCustomToken?key=[API_KEY]'
*-H 'Content-Type: application/json' *
--data-binary '{"token":"[CUSTOM_TOKEN]","returnSecureToken":true}'
And how to implement it in AI2 with the help of WEB COMPONENT. Specially how to set headers and post text requests of the above bolded lines. I know meaning of curl. It is the endpoint/url. what are these -character(-x, -h, -d, --data-binary).
Please anyone give solution for it. It's a bit urgent.