Features for the HTTP library
Posted: Tue Apr 29, 2008 5:18 pm
Since I've created all these myself I don't really need them, but it would be handy for newbies:
GetHeaderValue("Content-Length") ;Extracts the value
SetUserAgent("Whatever you want to call it") ;Then used by ALL PB functions accessing the internet
HTTPPost(URL$,PostData$,@RecievingBuffer,BufferLength) ;Where post data is like value=blabla&value2=blabla
EDIT:
I would also like URLEncoder() to have a flag to encode single and double quotes.
GetHeaderValue("Content-Length") ;Extracts the value
SetUserAgent("Whatever you want to call it") ;Then used by ALL PB functions accessing the internet
HTTPPost(URL$,PostData$,@RecievingBuffer,BufferLength) ;Where post data is like value=blabla&value2=blabla
EDIT:
I would also like URLEncoder() to have a flag to encode single and double quotes.