post Questions

2

These are my two examples : let config = NSURLSessionConfiguration.defaultSessionConfiguration() config.HTTPAdditionalHeaders = ["Accept": "application/json", "Content-Type": "application/json",...
Gibbons asked 26/8, 2014 at 11:32

2

I'm creating a simple REST API for uploading files. From other API's I found they use "multipart/form-data" content type. But for me, it looks like "application/octet-stream" is much simpler. If I...
Castroprauxel asked 30/3, 2015 at 13:16

10

Solved

I have a simple form for a mailing list that I found at http://www.notonebit.com/projects/mailing-list/ The problem is when I click submit all I want it to do is display a message under the curren...
Fedora asked 24/7, 2011 at 9:29

6

Solved

My sveltekit app has a form which sends a POST request to server. The app is working fine on dev server but when I build and run the app it fails to send the form data via POST request. It shows th...
Audient asked 20/9, 2022 at 18:7

6

I'm fairly new to coding in HTML. After hours of searching the internet for a way to do this, I failed and so I'm here. I was setting up a CSRF Proof of concept page here, I want it to redirect to ...
Ampereturn asked 27/5, 2017 at 20:18

3

I've seen different methods for posting data to an iframe but I can't find one where I can just send a JSON object. All the methods seem to require me to use form elements to put my data in.
Marmolada asked 22/8, 2012 at 20:36

6

Solved

I want to post some data to the URL body in Flutter WebView. So, how can I do it?
Inglis asked 27/2, 2021 at 6:29

9

Solved

I have an ionic 4 application which calls a .NET Core backend api. It works correctly on chrome browser, but when I run apk on android device, the response is: {"headers":{"normalizedNames":{},"la...
Polad asked 16/7, 2019 at 16:6

7

I'm trying to send a POST request locally with a username and password in the body through Axios. I'm deploying a Flask app on http://127.0.0.1:5000/login, which handles the /login route. The POS...
Tangy asked 20/6, 2018 at 13:57

11

Solved

I'm trying the following : A model with a dictionary inside send it on the first ajax request then take the result serialize it again and send it back to the controller. This should test that I c...
Lanceolate asked 17/1, 2011 at 6:56

10

I'm building a very simple REST API using Jersey, and I've got a warning in my log files that I'm not sure about. WARNING: A servlet POST request, to the URI http://myserver/mycontext/myapi/us...
Barbaraanne asked 6/1, 2010 at 9:14

10

Solved

@PostMapping(path="/login") public ResponseEntity<User> loginUser(@RequestBody Map<String, String> userData) throws Exception { return ResponseEntity.ok(userService.login(userData)); }...
Starobin asked 24/10, 2018 at 16:55

7

Solved

Since Django 1.5 raw post data is accessible via request.body. In my application I sometimes get data send via a form and sometimes raw data (json for example). Is there any way to write a functi...
Antlion asked 25/10, 2013 at 4:29

12

I am attempting to make a http request to news.google.com using the native node.js http module. I am getting the connect ECONNREFUSED 127.0.0.1:80 error when I tried the following var http = r...
Albur asked 7/10, 2016 at 6:25

27

Solved

Can I use the following jQuery code to perform file upload using POST method of an ajax request ? $.ajax({ type: "POST", timeout: 50000, url: url, data: dataString, success: function (data) {...
Hebrew asked 23/2, 2010 at 16:58

5

Solved

I'm fairly new to programming and I want to make a simple bot for telegram. After creating new bot using bot father and getting token, I made a simple HTTP post request to the below address: https...
Darcydarda asked 25/6, 2015 at 22:29

15

Solved

I am actually new to REST WS but really I don't get this 415 Unsupported Media Type. I am testing my REST with Poster on Firefox and the GET works fine for me, also the POST (when it's a applicat...
Aristotelianism asked 2/8, 2012 at 8:39

8

I am facing a anonymus closure error in flutter while signing in a user. It worked a few days before but now its not working, I dont no why. So please help and thanks in advance..Whenever i fill th...
Leaper asked 31/1, 2019 at 17:59

7

Solved

Is there any way of making a POST request when an svg image is clicked? My best attempt so far looks like: <form action="/test-button" method="POST"> <input name="Submit" type="submit" ...
Cromagnon asked 30/11, 2012 at 17:14

4

I am having trouble converting the payload data in the form of nested dictionaries to pass it as a data for the POST request using Python requests module. The form data is as below: payload = {'re...
Thickhead asked 25/4, 2017 at 1:29

6

Solved

I'm trying to create a POST request using angular.js to this Django view. class PostJSON4SlickGrid(View): """ REST POST Interface for SlickGrid to update workpackages """ def post(self, reque...
Striped asked 10/10, 2012 at 15:55

2

I want to read in backend this xlsx file. When I use the swagger I get it, but when I test in frontend I receive an Error 422 - devtools/Network detail'': ( ( loc'':(body file msg'':field req...
Cabana asked 11/8, 2022 at 20:42

4

Solved

I use codes below to send POST request to a server: string url = "http://myserver/method?param1=1&param2=2" HttpClientHandler handler = new HttpClientHandler(); HttpClient httpClient = new Ht...
Overalls asked 9/12, 2014 at 10:1

5

Suppose the parameter I want to pass is called printdata, and printdata=['a', 'b', 'c']. I use "input type="hidden" name="alist" value={{printdata}}>" to pass the parameter. However, when I try...
Solubilize asked 2/1, 2011 at 23:28

3

Solved

I want to be able to access a bit of information that someone places in a GET variable right in the template of a page (HTML escaped, of course.) How would I go about doing this? I know you can gra...
Applied asked 15/12, 2012 at 18:54

© 2022 - 2024 — McMap. All rights reserved.