0

I am using sim7600 module to make a GET request to a HTTPs site. The endpoint requires Tokens for authentication. The token is sent via HTTP parameters with the following AT command.

AT+HTTPPARA="USERDATA","Token:eyJhbGciOiJIUzI1NiIsI"\r\n

The actual tokens are much longer in length ~900 characters.

When I try to send such long characters I receive an ERROR response. I only receive an OK response when the total length of Token:eyJhb.... is <= 512.

While there is no limit mentioned in the official doc of sim7600 here it confirms that the max length is 512 for a simcom 5G module.

How can I overcome this problem other than reducing the token length?

Regards

2
  • 1
    ...why can't you make HTTPS requests using TCP/IP + TLS? Why are you using AT commands? This makes no sense to me - though apparently it is a thing. Can you explain why you're doing this? Commented Jun 4, 2024 at 6:08
  • I have a sim7600 connected to an STM32 via Uart. There are no other options other than using AT commands that i know of. I have nothing to do with ESP-AT. I just want to make an http get with a large token in the header. Hope that makes it clear. Commented Jun 4, 2024 at 10:30

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.