West Wind Internet and Client Tools
wwHTTP Class
Gravatar is a globally recognized avatar based on your email address. wwHTTP Class
  Keith
  All
  Aug 28, 2020 @ 10:08am

Is there a way to force wwHTTP to not send cookies when making http POST. I have a web site denying my credentials because I am sending cookies with requests. That is the response I get back.

Thanks Keith

Gravatar is a globally recognized avatar based on your email address. re: wwHTTP Class
  Rick Strahl
  Keith
  Aug 28, 2020 @ 01:14pm

This should work:

#include wconnect.h
DO wwHttp

LOCAL loHttp as wwHttp
loHttp = CREATEOBJECT("wwHttp")
loHTTP.nHttpServiceFlags = INTERNET_FLAG_NO_COOKIES
lcHtml = loHttp.HttpGet("https://west-wind.com")
? lcHtml

+++ Rick ---

Gravatar is a globally recognized avatar based on your email address. re: wwHTTP Class
  Keith
  Rick Strahl
  Aug 31, 2020 @ 07:59am

Thanks Rick, That worked perfectly.

© 1996-2024