Hello,
I have used Erel's modified code to get the http response header. I need to get the 3 keys from the response header and use those keys at the next request. The returned header is like this ( it is returned as httpjob's tag). How can I get the CloudFront-Signature,CloudFront-Key-Pair-Id and CloudFront-Policy keys from these text ?
Thanks
I have used Erel's modified code to get the http response header. I need to get the 3 keys from the response header and use those keys at the next request. The returned header is like this ( it is returned as httpjob's tag). How can I get the CloudFront-Signature,CloudFront-Key-Pair-Id and CloudFront-Policy keys from these text ?
Thanks
B4X:
{content-length=[12697], content-type=[application/json; charset=utf-8], date=[Fri, 03 May 2019 09:35:00 GMT], set-cookie=[CloudFront-Signature=U7oiYWS43uhxRouVTFpx6hrJHk7CSTGzj4V3HrDX8Pl7iuMdKJOz6r5wIIq~trJUMSsl1Z5Fe3FE-AL5kKEmnDSLH4Bi-EWXxP6PiNCw~3uB5SQq0JcfTGkn73uu9Wmz~zavdFwjqtfMV6yt8uVYU9x5JNENVULNE-lVRTRLZLuXznp1hBNcvTwTkdBmwO5X6RwEkksM4tLl~Et4DqWV~IE~7vSlhozsnZuniMTMP0X86BkKVltZNDnv5mEf9a6P1ZkVqcGWm9ENu9JTAgwQOhrdpJjP8w9QSbDU9UUVE8RhzgJVmuB3SqigD0y4C36RR9Q~PcxC0Dt1k1tQ__; Path=/; Domain=.xxx.com; Secure; HTTPOnly, CloudFront-Key-Pair-Id=APKAIVVJE7R23ILHVNCQ; Path=/; Domain=.xxx.com; Secure; HTTPOnly, CloudFront-Policy=eyJTdGF0ZW1lbnQiOiBbeyJSZXNvdXJjZSI6Imh0dHBzOi8vbmV3cy1jb250ZW50LmZvcmVrcy5jb20vKiIsIkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOwb2NoVGltZSI6MTU1Njg3OTcwMH19fV19; Path=/; Domain=.xxx.com; Secure; HTTPOnly]}