Hi.
I'm trying to send a json file to a google service.
I've readed the API Doc, and at the example, it uses curl to send all the params to the Google Service.
I need to know how i can send the json file i implement with the config needed to make the service work.
I have already the API-Key, and checked it works (At the Google example page).
mycreation.json is checked that has the format google service needs.
Thanks in advance.
[Edited]
Data must be sent by POST.
I'm trying to send a json file to a google service.
I've readed the API Doc, and at the example, it uses curl to send all the params to the Google Service.
I need to know how i can send the json file i implement with the config needed to make the service work.
B4X:
curl -v -k -s -H "Content-Type: application/json" \
https://service.googleapis.com/v1/service:annotate?key=<API-key> \
--data-binary @/Users/<username>/testdata/mycreation.json
I have already the API-Key, and checked it works (At the Google example page).
mycreation.json is checked that has the format google service needs.
Thanks in advance.
[Edited]
Data must be sent by POST.