Search found 3 matches

by fattylewis
Fri Apr 16, 2021 9:48 am
Forum: Freematics Products
Topic: No data in GET requests
Replies: 2
Views: 6121

Re: No data in GET requests

Hey Stanley,

That change has got it compiling so thanks for that!

I still cant seem to make GET requests work though.
My server is just a really basic flask app just to log anything coming in:


@app.route('/api/entry/push', methods=['GET'])
def push():
print(request.args)
return Response ...
by fattylewis
Thu Apr 15, 2021 8:40 pm
Forum: Freematics Products
Topic: No data in GET requests
Replies: 2
Views: 6121

Re: No data in GET requests

Awesome, will test tonight. Thanks Stanley!
by fattylewis
Wed Apr 14, 2021 5:28 am
Forum: Freematics Products
Topic: No data in GET requests
Replies: 2
Views: 6121

No data in GET requests

Hey,

Recently got a one+ Model H and have been struggling with a couple of things.

Firstly, im failing to get telelogger to compile when setting net_device to net_wifi. It always fails with:


teleclient.cpp:393:16: error: expression cannot be used as a function
if (net.code() == 200) {
^
exit ...