Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues with HTTP(S) POST request #83

Closed
n-eq opened this issue Feb 26, 2019 · 3 comments
Closed

Issues with HTTP(S) POST request #83

n-eq opened this issue Feb 26, 2019 · 3 comments

Comments

@n-eq
Copy link

n-eq commented Feb 26, 2019

Hi,

I am using sim5360 sketch to send a HTTPS POST request but have the following issues.

  • When connecting to port 80 with AT+CHTTPSOPSE=$URL,80,1, I get the following 302 response:
HTTP/1.1 302 Found
Server: Cowboy
Connection: keep-alive
X-Powered-By: Express
Location: $URL
Vary: Accept
Content-Type: text/plain; charset=utf-8
Content-Length: 74
Date: Tue, 26 Feb 2019 14:59:44 GMT
Via: 1.1 vegur

Found. Redirecting to https://<same_server_address>
  • When connecting to port 443 with AT+CHTTPSOPSE=$URL,443,2, I fail to connect (edit: this is normal because the remote server does not support SSL3.0).

  • When connecting to port 443 with server type 1 (AT+CHTTPSOPSE=$URL,443,1), I connect and send data but fail to receive anything.

Does anyone have any insights? Should I use/configure SSL certificates?)
Best regards.

@dogusural
Copy link

I also have the same problem, have you managed to solve it ?

@n-eq
Copy link
Author

n-eq commented Mar 13, 2020 via email

@dogusural
Copy link

Hi marrakchino ,

Thanks for letting me know. I will post under this post if i manage to solve it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants