Ive got the webclient axample.
If i put https://reversed.notion.site/Marktprijzen-API-89ce600a88ac4abe8c2ad89d3167a83e example to https://reqbin.com/post-online then i get data.
If i do the same in Webclient example i get " not a valid graphql request. Why ?
sUrl := 'https://graphql.frankenergie.nl/'
Request_type_post
Contenttype = 1 (json )
Postvalue := '{"query":{"query":"query MarketPrices {\n marketPrices(date:\"2025-12-25\") {\n electricityPrices {\n from\n till\n marketPrice\n marketPriceTax\n sourcingMarkupPrice\n energyTaxPrice\n perUnit\n }\n gasPrices {\n from\n till\n marketPrice\n marketPriceTax\n sourcingMarkupPrice\n energyTaxPrice\n perUnit\n }\n }\n}'
I tranfer the postvalue from String to WSTRING
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ive got the webclient axample.
If i put https://reversed.notion.site/Marktprijzen-API-89ce600a88ac4abe8c2ad89d3167a83e example to
https://reqbin.com/post-online then i get data.
If i do the same in Webclient example i get " not a valid graphql request. Why ?
sUrl := 'https://graphql.frankenergie.nl/'
Request_type_post
Contenttype = 1 (json )
Postvalue := '{"query":{"query":"query MarketPrices {\n marketPrices(date:\"2025-12-25\") {\n electricityPrices {\n from\n till\n marketPrice\n marketPriceTax\n sourcingMarkupPrice\n energyTaxPrice\n perUnit\n }\n gasPrices {\n from\n till\n marketPrice\n marketPriceTax\n sourcingMarkupPrice\n energyTaxPrice\n perUnit\n }\n }\n}'
I tranfer the postvalue from String to WSTRING