In its simplest form I am trying to return the name of the local authority of an area when a postcode is entered into a box.
I have a button and at present would only really need it outputting to a msgbox. The API for the website is below. I cant post links as I am new so have put spaces instead of dots of slashes.
neighbourhood statistics gov uk HTMLDocs downloads Technical_Implementation_Guide_v2.pdf
At the moment the code is basic, but not working at all. It returns the XML but not with any info which it has looked up. Any help would be much appreciated.
Private Sub Command329_Click()
Dim XMLHttp As New MSXML2.XMLHttp
XMLHttp.Open "POST", "neighbourhood statistics gov uk NDE2 Disco GetLevelTypes?", False
XMLHttp.send "NG7 2NR" ' Send in the postalcode
MsgBox XMLHttp.responseText
MsgBox XMLHttp.responseBody
MsgBox XMLHttp.statusText
End Sub
I have a button and at present would only really need it outputting to a msgbox. The API for the website is below. I cant post links as I am new so have put spaces instead of dots of slashes.
neighbourhood statistics gov uk HTMLDocs downloads Technical_Implementation_Guide_v2.pdf
At the moment the code is basic, but not working at all. It returns the XML but not with any info which it has looked up. Any help would be much appreciated.
Private Sub Command329_Click()
Dim XMLHttp As New MSXML2.XMLHttp
XMLHttp.Open "POST", "neighbourhood statistics gov uk NDE2 Disco GetLevelTypes?", False
XMLHttp.send "NG7 2NR" ' Send in the postalcode
MsgBox XMLHttp.responseText
MsgBox XMLHttp.responseBody
MsgBox XMLHttp.statusText
End Sub