Hi everyone.
I’m using a device with the BG96.
I wouldn’t mind customizing HTTP Request header.
It’s describe on ‘BG96 HTTP(S) AT Commands Manual’ that is ‘HTTP(S) request header can be customized by configuring <request_header> as 1 via AT+QHTTPCFG command’.
How do I customize the Request Header?
Is there a sample for reference?
I want to add following to request header.
Authorization : Bearer ******
content-type: application/json
I want to send by such below request header.
POST //**** HTTP/1.1
Host: https/.**
Accept: /
User-Agent: QUECTEL_MODULE
Connection: Keep-Alive
Content-Type: application/json
Authorization: Bearer ******
Content-Length: **
Thanks in advance for your help.