httpClient help
Posted
#1
(In Topic #1042)
Enthusiast

I am using the below code to connect to my Cloud Card Server
I need to send over 2 addtion headers so I read online that I need to send them over as a string array so I set that up and added them as
So this would be my new code
Code (gambas)
but when I add them to the .Head function I get a error saying
Wanted String but got pointer instead
when I type .Head( the box underneath comes up and says "Headers as string[]])
I am totally stuck now how to send over the additional headers have i miss understood how to send the headers?
Anyone who can advise Please feel free to say or even if you can show me where I have gone wrong.
Posted
Regular

If you simply send the variable of type array:AndyGable said
but when I add them to the .Head function I get a error saying
Wanted String but got pointer instead
when I type .Head( the box underneath comes up and says "Headers as string[]])
Code (gambas)
- ......
- .Head(HeaddersArray)
- ......
Europaeus sum !
<COLOR color="#FF8000">Amare memorentes atque deflentes ad mortem silenter labimur.</COLOR>
<COLOR color="#FF8000">Amare memorentes atque deflentes ad mortem silenter labimur.</COLOR>
Posted
Enthusiast

vuott said
If you simply send the variable of type array:AndyGable said
but when I add them to the .Head function I get a error saying
Wanted String but got pointer instead
when I type .Head( the box underneath comes up and says "Headers as string[]])
what happens ?Code (gambas)
...... .Head(HeaddersArray) ......
i get the following error message
Can not load class string, Type Mismatch wanted integer got null
1 guest and 0 members have just viewed this.



