Skip to content

HTTP Response - Nothing Read #6

@shivpatel

Description

@shivpatel

Code: https://gist.github.com/shivpatel/f130841e2c02baa3b49660eaf524c666

I'm using a basic setup with this library to:

  1. Connect the wifi module to an access point
  2. Periodically make HTTP GET requests to my server (tweetbar.herokuapp.com/minitron)
  3. Print the plain text response to the serial monitor

However, I can't seem to get client.available() to return anything other than 0. Not sure if .available() and .read() are working as expected. Any ideas?

I've checked on my server end to ensure that a successful HTTP request is coming through.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions