I've been struggling to figure out how to do this and hope someone can help. Here is my scenario...
I have a RichTextBox with multiple items inside and the number of items may vary from one day to the next. I also have the option to run my program on either 1, 2 or 3 different threads (each...
Thanks for your reply John! The API I'm working with doesn't specify the type of encoding to use. I tried setting the encoding to UTF8 as you suggested, but still the same issue (500 Internal Server Error).. Think I might have to contact them and see if they have any suggestions.
I don't know if this will be much help, but they put a small example on this page which uses the same endpoint as my initial GET (/authenticated) and they include a few other things in their header (although they never specify it's required)..Here is what theirs looks like:
X-Auth-Reseller...
I'm messing around with an API that uses JSON, but can't seem to make it POST properly. This particular API authenticates my account using three pieces of information which must be passed in the header. The service offers a basic endpoint you can GET to make sure your information is being passed...
Thanks for your reply John! Do I only need to specify the enocding in the streamreader, or in the bytearray as well?
Should I change both of these:
Dim byteArray As Byte() = Encoding.GetEncoding("gb2312").GetBytes(postData)
Dim reader As New StreamReader(dataStream1...
I'm posting a JSON web request and the everything seems to go through properly, but part of the response contains strange characters. I've tried a few different things, like changing the ContentType, but it hasn't fixed the issue.
For what it's worth, the host I'm connecting to states "The...
I'm wanting to do something, but not really sure if this can be done or how it can be done...
I have a list like this:
example0 2010
example1 1999
example2 2006
example3 1989
example4 2014
and I would like to arrange the list using the date at the end. So, it should be like this:
example3...
Still been messing with this. After speaking to one of their support guys and doing a bit more research online, I think I've made some more progress. However, the response I get is still blank..
I previously mentioned the CRT and KEY files needed to be together. I was taking these and trying to...
Just an update..It appears I can get to the exact same spot with the exact same error even when trying a CER file I know will not match the one I have uploaded to the server. So, I'm either still not getting connected, or doing something else wrong. But, it doesn't appear the spot I'm at now has...
Thanks for taking the time to reply JohnH! I've been messing with this more over the last few hours and have gradually made it further and further. Here's an update to where I'm at now..
First, it appears their firewall had not updated with my whitelisted IP address which was the cause behind...
Thanks for your reply jmcilhinney! I've done some more searching and made some additional changes..
First, I found that the CRT file needed to be CER and needed to be converted to DER. I converted my certificate over to DER using a website online and then renamed it from .der to .cer in DOS. I...
Hey everyone, I'm trying to connect with a service through their EPP server on port 700. The service required me to go out and purchase a certificate. They told me I then had to upload the "public" certificate into my user account (which I did) and then pass the "private" key when making a...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.