-
Recently Browsing 0 members
- No registered users viewing this page.
-
Similar Content
-
Microsoft to shut down OneDrive feature that let users upload files from a URL
By John Callaham,
- microsoft
- microsoft onedrive
- (and 2 more)
- 8 replies
- 3 views
-
Google adds hyperlink support to its messaging app Google Chat
By Aditya Tiwari,
- google chat
- google chat on web
- (and 5 more)
- 4 replies
- 3 views
-
- 14 replies
- 2,737 views
-
help Why is it so hard to find a good DP KVM switch?
By Steven P.,
- 6 replies
- 5,163 views
-
Meta details its latest approach to combat Facebook data scraping
By Usama Jawad96,
- 7 replies
- 3 views
-
Question
ho0kz
Hey guys, Just wondering if you can help me with my project.
I'm currently attempting to post to a url. I'll provide as much information as possible below without giving out my actual API url out to people since it's client based.
So here is what I'm trying to do, For instance here is my api url.
I've tried adding the post to the url but that doesn't work because it gives no response for example.
But when using postman google chrome app, I can post to this fine, obviously not in the url though.
and this is a POST method with Content-Type: application/x-www-form-urlencoded
Here is what I'm trying to post to the url "payload=user%3Dtestusername%2Cpassword%3Dtestpassword"
Before going any further I'd just like to say it needs to be exactly like this otherwise you get no response from the server so it needs the %3D and %2C in the post method for some strange reason.
Here is what I've currently got coded into my application.
So I'm just really stuck here on how to post that exactly to the url inhand. Would appreciate some support into this.
Link to comment
https://www.neowin.net/forum/topic/1247586-c-posting-to-url-help/Share on other sites
2 answers to this question
Recommended Posts