post Questions
24
Solved
How can I make an outbound HTTP POST request, with data, in node.js?
Evolutionist asked 28/5, 2011 at 0:44
14
Solved
I want to do an HTTP POST that looks like an HMTL form posted from a browser. Specifically, post some text fields and a file field.
Posting text fields is straightforward, there's an example right...
3
My understanding is that request.args in Flask contains the URL encoded parameters from a GET request while request.form contains POST data. What I'm having a hard time grasping is why when sending...
6
I am new to React Native and trying to upload Image with Axios but getting: Request failed with status code 500
I don't have backend problem because I can upload image with postman and everything ...
Cohn asked 22/10, 2018 at 20:4
4
Solved
I am sending data using the HTTP POST verb . But I am not receiving the data server side, despite the client reporting status-code 200. I can see the connection, and that the data was successfully ...
10
Solved
This question is not about when to use GET or POST in general; it is about which is the recommended one for handling logging out of a web application. I have found plenty of information on the diff...
Michaud asked 19/8, 2010 at 11:32
3
Solved
I'm using express and having trouble getting form data from the bodyParser. No matter what I do it always comes up as an empty object. Here is my express generated app.js code (the only thing I add...
1
Solved
I'm running the following script:
from fastapi import FastAPI
from fastapi import Request
import os
import uvicorn
app = FastAPI()
@app.post("/")
async def root(data: Request):
try:
r...
2
Solved
I have the following code which returns me the following error. The error says channel not found, howerver I am following the docs for a private channel to either use the name of the channel or to ...
Cryptoclastic asked 27/4, 2020 at 20:37
2
Solved
I am trying to send a POST request with body as form-data since this seems to be the only way that works.
I tried this in Postman too and sending body as raw JSON didn't work.
So I tried doing the ...
Choreograph asked 11/11, 2020 at 8:3
32
Solved
I'm trying to direct a browser to a different page. If I wanted a GET request, I might say
document.location.href = 'http://example.com/q=a';
But the resource I'm trying to access won't respond pr...
Millicentmillie asked 25/9, 2008 at 15:15
7
Solved
I've an API which returns an Excel document as response. The request will be one simple JSON.
I've searched Google and found some code base to download the file and I've used it in my application, ...
Sebaceous asked 11/10, 2019 at 6:57
1
Suppose a user types a slash command inside a thread, as opposed to inside the main channel.
Is it possible for to include this information in the request sent to the bot? I want the bot to know w...
Diao asked 21/8, 2018 at 20:19
17
Actually I want to read the contents that come after the search query, when it is done. The problem is that the URL only accepts POST methods, and it does not take any action with GET method...
I ...
13
Solved
I'm trying to build a simple API using Flask, in which I now want to read some POSTed JSON. I do the POST with the Postman Chrome extension, and the JSON I POST is simply {"text":"lalala"}. I try t...
4
Solved
I am trying to fulfill this rest api:
public async Task<bool> AddTimetracking(Issue issue, int spentTime)
{
// POST /rest/issue/{issue}/timetracking/workitem
var workItem = new WorkItem(sp...
Aulos asked 17/8, 2014 at 18:42
14
Solved
I am trying to communicate with an API from my React application using Axios. I managed to get the GET request working, but now I need a POST one.
I need the body to be raw text, as I will write a...
Lykins asked 19/7, 2018 at 6:6
1
Solved
In my Hosted Blazor web assembly application, we would like to implement a third party payment gateway by redirecting to the third party website. In order to access the third party page, we need to...
Retrograde asked 13/10, 2022 at 16:46
4
Solved
I'm trying to upload a video while using Laravel. Though uploading images work fine for me when I change my controller line
echo '$file' . $file->getClientOriginalName() . '"/>';
to:
echo...
2
Solved
I have tried a lot of things, but it doesn't seem to work. Here is my code:
@app.post("/my-endpoint")
async def my_func(
languages: List[str] = ["en", "hi"], image: U...
4
9
Solved
Simple question: Is it possible to get all the data POSTed to a page, even if you don't know all the fields?
For example, I want to write a simple script that collects any POSTed data and emails i...
15
Solved
What's the difference when using GET or POST method? Which one is more secure? What are (dis)advantages of each of them?
(similar question)
Terhune asked 2/2, 2009 at 21:15
6
Solved
What are the steps to send a https request in node js to a rest service?
I have an api exposed like (Original link not working...)
How to pass the request and what are the options I need to give fo...
Advertising asked 29/10, 2012 at 12:24
4
Solved
<!DOCTYPE html>
<html>
<head lang="en">
<script src="https://code.jquery.com/jquery-2.1.4.min.js"></script>
<meta charset="UTF-8">
<title>PHP socket cha...
Bernadette asked 6/5, 2015 at 11:5
© 2022 - 2024 — McMap. All rights reserved.