Hi, I am trying to send a POST request to connect to an API link , this link only accepts POST request and it needs the information contains in a JSON file that for the purpose of my app needs to have one field dynamicaly setted.
I have received both error 1110 for the web-headers and 1103 for the text-content.
The original command to connect would be : POST https://dev.youteach.ai:7092/stream with a JSON to go with it that contains authorization keys and a question that needs to be dynamicaly set.
Here is what I have tried, I have initialy used a dictionary instead of a make list like in the picture but the outcome is the same.
Any help would be very appreciated
Yes, I have editted the header blocks, the header got accepted now.
Thank you
I initiated the active_docs variable as a string, they do have quotes around the string and ended with a comma next to the double quotes
considering content-length varies and the actual user-agent unknown, as well as not running a postman on the app itself,
some headers have been omitted:
Show us the call statement where you invoke your procedure and feed it the question value.
Do you supply the missing " " in the call?
I am guessing you did not wrap question in quotes in the call, (who would guess to do that?), and you need to supply quotes in the two surrounding text blocks.