Author Topic: HTTP question  (Read 1332 times)

Offline Crivens

  • Prof. Inline
  • *****
  • Posts: 913
    • View Profile
HTTP question
« on: 2012-Mar-02 »
Ok using the HttpPost$ function from Gernot's networking for dummies I have got a simple shop working with a Google sites HTML page. But I want to use my own website instead which I used originally a simple text file to grab using NETWEBGET (rubbish though as it can't be cancelled or put in background).

Anyway my new HTML pages on my website don't work and give this error:-
Code: (glbasic) [Select]
</style>
</head>
<body>
<div id="header"><h1>Server Error</h1></div>
<div id="content">
 <div class="content-container"><fieldset>
  <h2>405 - HTTP verb used to access this page is not allowed.</h2>
  <h3>The page you are looking for cannot be displayed because an invalid method (HTTP verb) was used to attempt access.</h3>
 </fieldset></div>
</div>
</body>
</html>

Any ideas? I have to decide to renew the webhost today or not and if no way round I'll ditch them. Google sites is good (esp for free) but I read they limit bandwidth and I want to use ASP in the future.

Cheers
Current fave quote: Cause you like musicians and I like people with boobs.

Offline Crivens

  • Prof. Inline
  • *****
  • Posts: 913
    • View Profile
Re: HTTP question
« Reply #1 on: 2012-Mar-02 »
Ah don't worry I figured out a workaround. Instead of using a HTML or TXT file I just renamed it as a .aspx file. Apparently this fools it into returning the data (even though is actually still a HTML file). Plus for some reason my Web scripting (ASP.NET) had been turned off on the site.

Cheers
Current fave quote: Cause you like musicians and I like people with boobs.