Hi cicciocb
I would like to use this https://iotplotter.com . Its API uses Post with the api-key sent in the header, could we accommodate this?
Mike
Using wpost$
- cicciocb
- Site Admin
- Posts: 2060
- Joined: Mon Feb 03, 2020 1:15 pm
- Location: Toulouse
- Has thanked: 439 times
- Been thanked: 1358 times
- Contact:
Re: Using wpost$
Hi,
It should be possible to use the optional argument content_type$.
In fact this inserts some text in the header.
In your case, you could set the content at "text/html" + chr$(10) + "api-key: KEY_HERE" + chr$(10)
Look at the doc here for this optional argument
[Local Link Removed for Guests]
It should be possible to use the optional argument content_type$.
In fact this inserts some text in the header.
In your case, you could set the content at "text/html" + chr$(10) + "api-key: KEY_HERE" + chr$(10)
Look at the doc here for this optional argument
[Local Link Removed for Guests]
Re: Using wpost$
Thanks cicciocb, I had wondered if that may have been a possibility , I will try today.
Re: Using wpost$
Thanks cicciocb, I had wondered if that may have been a possibility , I will try today.