Other Parts Discussed in Thread: CC3120
Tool/software: Code Composer Studio
Hi
I'm having trouble when trying to call rest API from google firebase real time database. I use this URL https://minmin-68c89.firebaseio.com/.json. Response always come in web browser, but when called by using GET or curl command in the program of Ti-RSLK robot kit Lab20 program, it does not work. Other APIs such as thingspeak and ifttt works perfect and is able to receive data from them. But for firebase, it does not work totally. One thing found out is google firebase requires https request. I have changed port number to 443 everything and this still does not work. Any setting still needed to be able to call Rest API?
Following texts show as firstly sending request using curl command. After that the response sent by the firebase below which replies error "HTTP/1.1 Bad Request". I need help urgently thus any fast response reply is very appreciated.
curl minmin-68c89.firebaseio.com/.json
HTTP/1.1
Host:minmin-68c89.firebaseio.com
Accept: */*
HTTP/1.1 400 Bad Request
Server: nginx
Date: Tue, 17 Sep 2019 17:16:55 GMT
Content-Type: text/html
Content-Length: 166
Connection: close
Strict-Transport-Security: max-age=31556926; includeSubDomains; preload